SOptionPane.showQuestionDialog(frame, "Continue this example?",
SOptionPane.showQuestionDialog(null, "Continue this example?",
            public void actionPerformed(ActionEvent e) {                SOptionPane.showQuestionDialog(frame, "Continue this example?",                        "A Question", comment);            }