Sample of JOptionPane