This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable cell focus

 
G Estes
Ranch Hand
Posts: 62
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am tabbing through the editable cells in a customized JTable. I am using a custom editor and renderer as well. The tabbing part is fine. When the tab gives the cell focus, the editor comes up, but the cell doesn't "look" selected. Likewise, when the tab takes focus to the next editable cell, the previous editor remains, as opposed to the renderer. Should I be firing an event when the cell gains and looses focus? Any other suggestions on what might be happening?
 
G Estes
Ranch Hand
Posts: 62
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This may help...
Here are two methods where I believe the problem lies. The cell editor:

and the keyReleased() method:
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic