SOptionPane.showMessageDialog(frame, "No Problem, just look at another site");
SOptionPane.showMessageDialog(null, "No Problem, just look at another site");
            public void actionPerformed(ActionEvent e) {                if (e.getActionCommand() == SOptionPane.OK_ACTION)                    SOptionPane.showMessageDialog(frame, "Fine !");                else                    SOptionPane.showMessageDialog(frame, "No Problem, just look at another site");            }