me.frame,
this.getParent(),
   private void closeSession() {      Object[]      message = new Object[1];      message[0] = LangTool.getString("cs.message");      String[] options = {LangTool.getString("cs.optThis"),                           LangTool.getString("cs.optAll"),                           LangTool.getString("cs.optCancel")};      int result = JOptionPane.showOptionDialog(             me.frame,                              // the parent that the dialog blocks             message,                           // the dialog message array             LangTool.getString("cs.title"),    // the title of the dialog window             JOptionPane.DEFAULT_OPTION,        // option type             JOptionPane.QUESTION_MESSAGE,      // message type             null,                              // optional icon, use null to use the default icon             options,                           // options string array, will be made into buttons//             options[0]                         // option that should be made into a default button         );      if (result == 0) {         closeMe();      }      if (result == 1) {         me.closingDown();      }   }