private void jButtonCancelarKeyPressed( java.awt.event.KeyEvent evt) { // GEN-FIRST:event_jButtonCancelarKeyPressed if ((evt.getKeyCode() == KeyEvent.VK_ENTER)) dispose(); else if (evt.getKeyCode() == KeyEvent.VK_LEFT) jButtonVer.requestFocus(); } // GEN-LAST:event_jButtonCancelarKeyPressed
private void jTextFieldBuscarKeyTyped( java.awt.event.KeyEvent evt) { // GEN-FIRST:event_jTextFieldBuscarKeyTyped if ((evt.getKeyCode() == KeyEvent.VK_ENTER)) buscarEstudiante(); } // GEN-LAST:event_jTextFieldBuscarKeyTyped
private void jButtonVerKeyPressed( java.awt.event.KeyEvent evt) { // GEN-FIRST:event_jButtonVerKeyPressed if ((evt.getKeyCode() == KeyEvent.VK_ENTER)) elegirEstudiante(); else if (evt.getKeyCode() == KeyEvent.VK_RIGHT) jButtonCancelar.requestFocus(); } // GEN-LAST:event_jButtonVerKeyPressed
private void jButtonBuscarKeyPressed( java.awt.event.KeyEvent evt) { // GEN-FIRST:event_jButtonBuscarKeyPressed if ((evt.getKeyCode() == KeyEvent.VK_ENTER)) buscarEstudiante(); } // GEN-LAST:event_jButtonBuscarKeyPressed