During the JavaFX keynote at OSCON/Java a few days ago I demonstrated the the EarthCubeFX application ported to JavaFX 2.0. In the session I promised to make the code available on my blog, so here is a link from which you can download the EarthCubeX project (for NetBeans IDE). Some helpful tips:
- After downloading the ZIP file, expand the project into a directory of your choice.
- Start NetBeans, and select the File -> Open Project menu.From the Open Project dialog box,
- Navigate to your chosen directory and open the EarthCubeX project. If you receive a message dialog stating that the jfxrt.jar file can't be found, click the Resolve button and navigate to the rt/lib folder subordinate to where you installed the JavaFX 2.0 SDK.
- Note: You can obtain the NetBeans IDE from the NetBeans site.
Also, although JavaFX 2.0 for Mac OS will be released after JavaFX 2.0 for Windows is released, it doesn't seem to be far behind, as this video of EarthCube on an early access version of JavaFX for Mac OS demonstrates.