• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to get control out while pressing enter key in a table?  RSS feed

 
angelin prema
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I have a jtable with three columns.
Suppose if my first column is age,
when I enter 20 in the first field then press enter the control is not coming out from that particular cell.
How to get the control out from it?
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can find some information about keyboard navigation in tables in the Java Look and Feel Guidlines.
In the left frame, scroll down to and select the link for "Tables" under "Appendex A: Keyboard Navigation, Activation, and Selection".
Or, for no_frames you can try Tables.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!