code: private void settingsLoadDefaultsMenuItemActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_settingsLoadDefaultsMenuItemActionPerformed
          if (evt != null) {
              int response = JOptionPane.showConfirmDialog(this,
                      "Load defaults settings and lose current ones?", "Confirm Reset",
                      JOptionPane.OK_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE);
              if (response == JOptionPane.CANCEL_OPTION) {
                  return;
              }
          }
  
          try {
              loadSettings(null);
          } catch (Exception ex) {
              Logger.getLogger(MainFrame.class.getName()).log(Level.SEVERE, null, ex);
          }
      }
docs: </editor-fold>//GEN-END:initComponents