Sun and Laszlo announce Orbit: OpenLaszlo for J2ME
SimHacker writes "Sun and Laszlo Systems have announced project "Orbit": OpenLaszlo for J2ME.
OpenLaszlo is an open source platform for creating zero-install 'AJAX' web applications with the user interface capabilities of desktop client software.
The OpenLaszlo 'Legals' project supports multiple deployment runtimes, including Flash and DHTML, and soon J2ME! The FAQ says a proof-of-concept demo will be available later this year."
I didn't put much time or effort into this, but if you make "hello" and "world" different colors they overlap each other. I actually had to specify "world"'s x and y cooridinates to adjust the spacing. I'm by no means a content creator of any sort other than an occasional whim, but this seems like it would become very tedious. Is there something i'm missing such as an IDE that would make this trvial?
Assuming that you used two different text elements, each with its own fgcolor, then my guess is that you need a layout to position the text objects one after the other -- otherwise they all are positioned at x="0" y="0" by default, so they overlap like this (source).
You can put a layout element into a canvas or view, like <simplelayout axis="x"/>, and it magically positions its siblings (the text elements) like this (source). There are even more powerful layouts like the <wrappinglayout/> that work like this (source). [Try resizing the window -- it's very xmasy!]
Another way to make a text element with two different colors is to change the colors with html, using <font color="#ff0000"> tags in the text, like this (source).
-Don
Take a look and feel free: http://www.PieMenu.com
No, instead of creating Flash files, it will send J2ME to the phone.
El Tonerino
I'm sick of hearing about what OpenLazlo will do one day. They still haven't released the final 1.0 version of their DHTML-targeting back end, and now they're hyping up how it'll produce J2ME as well?
I'm not going to touch it while the stable version only targets Flash.
GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak