Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Selection using keys
Index -> Programming, Java -> Java Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
iop




PostPosted: Wed Jan 12, 2005 5:14 pm   Post subject: 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?
Sponsor
Sponsor
Sponsor
sponsor
Hikaru79




PostPosted: Wed Jan 12, 2005 10:30 pm   Post subject: (No subject)

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)
Display posts from previous:   
   Index -> Programming, Java -> Java Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: