My colleague has just returned from JavaOne and brought an HTC Diamond cell phone that supports JavaFX. Of course I couldn't stop but running my demos on it.
So the next version of JavaFX has been released. I developed an example that shows all the node-based UI controls that had been added to the API to replace the controls based on the Swing library. Note, that new UI controls are available on all platforms including mobile.
The Preferences API can be used by applications along with the installed security manager that enables using the
preferences permission. However, WebStart-based applications cannot permit
preferences only. You can permit all or deny all by using a
I would like to discuss code conventions. In particular, the usage of the
The most powerful advantage of JavaFX is an easy use of Java classes. However, you can encounter an issue when calling some methods, for example, those that have the
delete names. The
File class contains the
Fullscreen mode and transparent windows are supported in JavaSE 6 since update 10. I have developed the SideBar example for the JavaOne 2008 by using proprietary Java API to create translucent window that slides out of the right side of the screen. Now I am ready to show the SideBar example created by using the JavaFX API only.
Posted by malenkov on March 3, 2009 at 10:00 AM PST
This application creates a digital clock, and is based on the analog clock implementation taken from another example. String formatting is applied to display the current time. Unfortunately, the application can not be run on the mobile emulator, because the mobile profile of JavaFX API does not support graphical effects yet.