JOptionPane

Example 5: This example illustrates the use of JOptionPane. From the above example an Input Dialog box will appear and prompt the user to enter a word. When the user enters a word, the string is then placed into the variable called U_Input. It is important to note again, ALL input received or returned from the Input Dialog box is a String. ................
................