Monday, August 20, 2012

get an input from user using java popup

This will ask input from the user and store it in name variable

String name = JOptionPane.showInputDialog ( "String input text" )


demo:

0 comments:

Post a Comment