• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tweak [Enter] key  RSS feed

 
Frank Tamminga
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am writing a programm which must replace a Dos program.
Now our customers are used to 'Enter' to the next field. All Java 'look and feel's use the Tab to go to the next field.
We have to offer an alternative. At least for the numeric Enter-key.
Does anyone know a way how to 'tweak' the look and feel so that the Enter-key simulates a Tab.
I was thinking of extending the controls used, catching the keyboard events and then, let's say, throwing a new event if the key is an Enter. But, how do I do the latter?
 
paul wheaton
Trailboss
Posts: 22262
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Frank,
I think what you are asking is pretty advanced. I know a fair amount about this sort of thing and I can't think of an answer off the top of my head.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!