• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to listen key events for table cells  RSS feed

 
harbeer kadian
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JTable. The JTable has cells inside it.
If i double click on the cell(makes it editable cell) and presses tab key, the key listener is not notifying about the tab key, but the control goes to the next row.

Please give some information regarding it
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
> Please give some information regarding it

please give some information about the problem (of the standard behavior)
 
Rob Camick
Ranch Hand
Posts: 2787
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What KeyListener? Did you add custom code that is not working?

If you need further help then you need to create a SSCCE (Short, Self Contained, Compilable and Executable, Example Program), that demonstrates the incorrect behaviour.

Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!