Definitions for "JOptionPane"
A modal pop-up box to deliver an error message or alert. Temporary Window for displaying information or requesting keystrokes. It requires a parent JFrame, thus in cannot be used inside an JApplet which has no JFrame. Unlike a JDialog, JOptionPane s are always modal, which means they block input to all other JWindow s until they are dismissed. JDialog BorderLayout