JavaFX Script Keywords and Java Interoperability
By user12610627 on Jan 07, 2009
var <<this is a variable>> = "Hello World"; <<this is a variable>>.toUpperCase();
This mechanism may be used to access Java methods which conflict with JavaFX keywords, for example:
var textArea = new javax.swing.JTextArea(); textArea.<<insert>>("Hello World", 0);
This mechanism is also useful for code generators in translating symbols from other languages having incompatible lexical rules to JavaFX script.