• Post Reply Bookmark Topic Watch Topic
  • New Topic

FocusListener on JTables  RSS feed

 
Gary Martinkus
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What would the code be to add a FocusListener to a JTable so I can detect when a cell gets focus?
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A JTable is a swing UI component and has nothing to do with servlets. I've moved this post to the Swing forum for you.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's a post discussing this over at Expert's Exchange...
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!