Delete JOptionPane.showMessageDialog