SOptionPane.showMessageDialog(frame, "This is a simple message", "A Message");
SOptionPane.showMessageDialog(null, "This is a simple message", "A Message");
            public void actionPerformed(ActionEvent e) {                SOptionPane.showMessageDialog(frame, "This is a simple message", "A Message");            }