« Previous day (Apr 28, 2007) | Main | Next day (Apr 30, 2007) »
 20070429 Sunday April 29, 2007

F3 working on Java ME technology!

Just got Chris Oliver's JavaFX Script (F3) working on a Java ME cell phone. Thanks goes to Kevin Wong (who did most of the legwork), Paru Somashekar, Mick Fleming, Nandini Ramani and of course Chris Oliver!

See:

JavaFX Script (F3) working on Java ME technology

Here's the JavaFX Script code I'm running on a Linux/ARM/Qt GSM cell phone using Java ME CDC (AGUI on Personal Basis Profile) and a special ME version of the F3 runtime from Chris:

import f3.ui.*;

import java.awt.Frame as AWTFrame;
import javax.swing.JLabel as SwingLabel;
import java.awt.Dimension;

var frame = new AWTFrame();
var label = new SwingLabel("F3 on Java ME!");
frame.add(label);
frame.setSize(new Dimension(180, 300));
frame.setVisible(true);
We had a little bit of trouble with encoding but got around it. Big thanks to Kevin for being so patient in the middle of Chris and me trying to help him debug over e-mail on a sunny Sunday afternoon. Ack! ;-)

For more demos and to see what F3 is all about, make sure to attend Chris Oliver's JavaOne talk and the keynote sessions.

See: JavaOne info

[Java ME and J2ME] ( April 29, 2007 06:07 PM ) Permalink Comments [1]





Theme originally based on design by Bryan Bell