Relationship between KeyEvent and FocusEvent
It seems that a KeyEvent is translated to FocusEvent or ActionEvent inside AWT. Hence I don't need to register any KeyEvent listener and can have my component response to a key action as long as it is registered as FocusEvent or ActionEvent listener.
The same to MouseEvent as long as the player has mouse support and the Xlet are using AWT UI widgets.
I'm really curious: What's the detailed mechanism that a KeyEvent is translated to a FocusEvent or ActionEvent? Any recommended articles on this are also appriciated.
Message was edited by: szmarine