Пример #1
0
 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
Пример #2
0
 private void jTextFieldBuscarKeyTyped(
     java.awt.event.KeyEvent evt) { // GEN-FIRST:event_jTextFieldBuscarKeyTyped
   if ((evt.getKeyCode() == KeyEvent.VK_ENTER)) buscarEstudiante();
 } // GEN-LAST:event_jTextFieldBuscarKeyTyped
Пример #3
0
 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
Пример #4
0
 private void jButtonBuscarKeyPressed(
     java.awt.event.KeyEvent evt) { // GEN-FIRST:event_jButtonBuscarKeyPressed
   if ((evt.getKeyCode() == KeyEvent.VK_ENTER)) buscarEstudiante();
 } // GEN-LAST:event_jButtonBuscarKeyPressed