private void jMenuItem4ActionPerformed( java.awt.event.ActionEvent evt) { // GEN-FIRST:event_jMenuItem4ActionPerformed // TODO add your handling code here: String args[] = null; VentanaInicio.main(args); this.dispose(); } // GEN-LAST:event_jMenuItem4ActionPerformed
@Override public void windowClosing(WindowEvent e) { dispose(); GestorSesion.getGestor().cerrarSesion(); VentanaInicio.getVentanaInicio().setVisible(true); }