JOptionPane Class Summary
The JOptionPane class defines a group of static methods whose names begin with
show (and some others). Those beginning with show display simple dialog boxes
within JDialog windows. There are three types of dialog: message, confirm, and
input.
The class is a component (as described
under the
Components chapter).