
-----------------------------------
iop
Wed Jan 12, 2005 5:14 pm

Selection using keys
-----------------------------------
Just wondering, how can I code my program so that if a user presses the down arrow on the keyboard, in my main menu, the highlighter would go down and if the user would press enter it would go into that selection?

-----------------------------------
Hikaru79
Wed Jan 12, 2005 10:30 pm


-----------------------------------
Here are two tutorials on Key Listeners and Key Bindings

http://java.sun.com/docs/books/tutorial/uiswing/events/keylistener.html
http://java.sun.com/docs/books/tutorial/uiswing/misc/keybinding.html

Wow, I feel like wtd  8)  8)  8)
