Kevin Workman wrote:Read this: http://download.oracle.com/javase/tutorial/uiswing/components/dialog.html
Campbell Ritchie wrote:Why are you mixing Scanner and JOptionPane? You can read text with the methods of Scanner too.
Try a few lines with Scanner, getting ints and Strings in turn, and see how it works. Beware that Scanner can appear to miss out an entry if you have a return. Look at this old post, complete with spelling errors.
Lester Burnham wrote:This may help: http://www.acme.com/resources/classes/Acme/ApplicationApplet.java