Skip to main content

how do you use parselnt() in javafx

1 reply [Last post]
jim_bow
Offline
Joined: 2008-05-10
Points: 0

package notereader;
import java.lang.*;

var a:String = "123";

var num:Number = java.lang.Integer.parseInt( a);

"" Error in file Main.fx:13: undefined variable java in java.lang ""

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
tball
Offline
Joined: 2003-06-10
Points: 0

The JavaFX Script interpreter doesn't handle fully-qualified Java names well. The compiler does, however:

http://openjfx.java.sun.com/