SOptionPane.showMessageDialog(frame, "Fine !");
SOptionPane.showMessageDialog(null, "Fine !");
            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");            }