protected void processEvent(AWTEvent evt_) {
super.processEvent(evt_);
if (evt_ instanceof KeyEvent) {
KeyEvent key_event = (KeyEvent) evt_;
if (( ! key_event.isConsumed()) &&
key_event.getKeyCode() == KeyEvent.VK_ENTER &&
super.isEnabled()) {
EventQueue queue = Toolkit.getDefaultToolkit().getSystemEventQueue();
queue.postEvent(new ActionEvent(this, getActionCommand()));
key_event.consume();
}
}
else if (evt_ instanceof ActionEvent)
fireActionPerformed((ActionEvent) evt_);
else if (evt_ instanceof ItemEvent)