Wednesday, June 25, 2008

Could you clean up your JavaFX tutorial on the web? :-)

JavaFX Script is not a matured language yet. If you look at the early tutorials, those code will not work in the latest development tools (OpenJFX on NetBeans). After a little research on the web, I learned that Sun doesn't seem want to maintain two different flavors of the same language. They will retire the interpreted version of JavaFX. If you are like me, who want to learn JavaFX from the web, you might want to print out a copy of this link by your side. This document lets you easily see the difference between old JavaFX and the new JavaFX.
In case you are still not sure if your example is interpreted or compiled, the JavaFX Complier gives annoyingly polite messages for old interpreted syntax:

Sorry, I was trying to understand a type specification but I got confused when I saw '*' which is an operator.

If you are a tutorial author of the interpreted JavaFX, please help the community by updating it to the compiled version, or simply said "interpreted JavaFX" in the title, so people who learns them will understand the difference. For a few days I was wondering if my OpenJFX NetBeans plug-in was bad, then I learned I was using old syntax.

Here are a collection of interpreted JavaFX web sites. Those example will not work in NetBeans 6.1 OpenJFX.

No comments: