Пример #1
0
 /**
  * Closes the window and returns to the User home screen.
  *
  * @param evt
  */
 private void jButton2ActionPerformed(
     java.awt.event.ActionEvent evt) { // GEN-FIRST:event_jButton2ActionPerformed
   // TODO add your handling code here:
   this.setVisible(false);
   main.returnFrame = null;
   main.loginUserFrame.setVisible(true);
 } // GEN-LAST:event_jButton2ActionPerformed
Пример #2
0
 /**
  * Closes the instance of this frame and returns the user to the User home page upon a window
  * close
  *
  * @param evt
  */
 private void formWindowClosing(
     java.awt.event.WindowEvent evt) { // GEN-FIRST:event_formWindowClosing
   // TODO add your handling code here:
   main.returnFrame = null;
   main.loginUserFrame.setVisible(true);
 } // GEN-LAST:event_formWindowClosing