Ejemplo n.º 1
0
 public void keyTyped(KeyEvent e) {
   char key = e.getKeyChar();
   if (key == '\n') atc_obj.getInputhandler().processCommand();
   else atc_obj.getInputhandler().processKey(key);
 }
Ejemplo n.º 2
0
 public void actionPerformed(ActionEvent e) {
   atc_obj.getInputhandler().processActionCommand(e.getActionCommand());
 }