SOptionPane.showMessageDialog(frame, p);
SOptionPane.showMessageDialog(null, p);
            public void actionPerformed(ActionEvent e) {                if (e.getActionCommand() == SOptionPane.NO_ACTION) {                    SPanel p = new SPanel(new SFlowDownLayout());                    p.add(new SLabel("That's sad !"));                    SAnchor sendMail = new SAnchor("mailto:ahaaf@mercatis.de");                    sendMail.add(new SLabel("Please send my why!"));                    p.add(sendMail);                    SOptionPane.showMessageDialog(frame, p);                } else                    SOptionPane.showMessageDialog(frame, "Fine, so do we!");            }