var a:String = "123";
var num:Number = java.lang.Integer.parseInt( a);
"" Error in file Main.fx:13: undefined variable java in java.lang ""
The JavaFX Script interpreter doesn't handle fully-qualified Java names well. The compiler does, however:
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.