Returns the value the user has input, if wantsInput
is true.
Object
the user specified,
if it was one of the objects, or a
String
if it was a value typed into a
field
setSelectionValues, setWantsInput, setInputValue
Diagram: JOptionPane