Google
 

Thursday, August 30, 2007

JavaFX City Weather Sample

I finally got the time to take a quick look at the newest Netbeans JavaFX sample application. The sample application contains a Java Service hosting weather data, and a (not very beautiful) JavaFX GUI showing the weather data. The weather data is animated in small "weather widgets", when you drag the slider beneath the date bar.

You'll need Netbeans 6.0 M10. Goto Tools -> Plugins (Netbeans Plugins Manager). Find the JavaFX Weather Sample application, and click "Install":

After completed installation of the sample app, goto File -> New Project -> Samples -> JavaFX, and select the Weather Sample app:

Finish the wizard, and run the application. When you drag the mentioned slider, the widgets are animated:

The sample is nicely structured, containing a JavaFX source file for each widget, and 3 Java classes emulating the service.

technorati tags:, , , , ,

No comments:

Post a Comment

Please comment! I look forward into hearing your comments/oppinions.