A screencast that shows off the JavaFX 2.0 EA and the simplest interactive application you could create.
The current API package are the same as the JavaFX Script 1.0.
The code show to scene graph is created, using Stage, Scene, Group and a Rectangle. The API requires nodes to be manipulated with setter methods in this version.
Demo shows interaction using a KeyListener set on the key pressed down handler. In short more lines of code are required to express the intent.
The demo also shows that keyboard interaction is working in this early access release. Cursor key control the position of the rectangle. Holding the shift down whilst pressing on the cursor enlarge or shrinks the rectangle.
Positives: the API that this application exercised is stable
Peter Pilgrim
23 February 2011