@Override
        public void keyPressed(KeyEvent e) {
          if (e != null && (e.getKeyCode() == KeyEvent.VK_DOWN || e.getKeyCode() == KeyEvent.VK_UP)) {
            textField.transferFocus();
          }
        }
@Override
        public void keyPressed(KeyEvent e)