• Post Reply Bookmark Topic Watch Topic
  • New Topic

A Surprising Omission by Sun

 
Josh Rehman
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it is suprising that Java Tutorial does not give the real scoop on handling keyboard input:
http://java.sun.com/docs/books/tutorial/uiswing/events/keylistener.html
The real scoop is described here, albeit in advanced form:
http://java.sun.com/products/jfc/tsc/special_report/kestrel/keybindings.html
This really pisses me off because I solved my previous problem with the "obsolete" way advocated by other sources (namely, the JComponent.registerKeyboardAction(KeyStroke, ActionListener) method). Now I find out that even this is not the "right way"!
Bah!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!