Preparing JavaFX for Java 1.6 Source Code

How do I make JavaFX with netbeans compile my code to level 1.6 compliance.

At the moment it seems to be hardcoded down to 1.5 levels - discontinuing useful tools in java.awt.Desktop (and the like)

+1


source to share


2 answers


Remember - because JavaFX has to run at runtime Apple Java, which is currently Java 1.5 - JavaFX cannot compile Java 1.6.



So it will probably change in the future so that it can compile Java 1.6.

+1


source


Here's a good explanation by Stephen Chin: http://steveonjava.com/2009/01/02/hacking-javafx-10-to-use-java-16-features/



Also, Steve's blog on JavaFX is great if you get caught up in a new language.

+1


source







All Articles