java joption and convert string to integer -


i not quite sure doing wrong code.

i trying import joptionpane , convert string int error comes at

**start = inputvalue.integer.parseint();**  joptionpane pane = new joptionpane();  string inputvalue = joptionpane.showinputdialog("please input value");  start = inputvalue.integer.parseint(); 

try this:

start = integer.parseint(inputvalue);


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -