关于JOptionPane.showOptionDialog的返回值...........
Object[] options = { "确定", "取消" };
JOptionPane.showOptionDialog(ccf, "你真的想离开?", "Question",
JOptionPane.DEFAULT_OPTION,
JOptionPane.QUESTION_MESSAGE,null,
options, options[0]);
请问大侠:如何知道用户是否按了"确定",或者按了"取消"