Question: joptionpane how to use input?
Answer: import javax. ...  To get an input box that the user can type into, we can use the showInputDialog method of JOptionPane. ...  String first_name; ...  Double click showInputDialog. ...  String family_name; ...  String full_name; ...  JOptionPane.showMessageDialog( null, full_name );