private void jDateChooser1KeyPressed(java.awt.event.KeyEvent evt) { // TODO add your handling code here: jDateChooser1.setFocusTraversalKeys(KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS, java.util.Collections.EMPTY_SET); if(evt.getKeyCode() == KeyEvent.VK_ENTER || evt.getKeyCode() == KeyEvent.VK_TAB){ jTextField1.requestFocus(); } }
jDateChooser1.setFocusTraversalKeys(KeyboardFocusManager.FORWARD_TRAVERSAL_KEYS, java.util.Collections.EMPTY_SET); int actionCommand = evt.getKeyCode(); if(actionCommand == KeyEvent.VK_ENTER || actionCommand == KeyEvent.VK_TAB){ jTextField1.requestFocus(); }
ext.consume();