Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

AccessibleJTableCell  RSS feed

Talhah Mafawalla
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

If annyone could help, I am trying to add a focus listener to cell so that when it gains focus by tabbing into ot or pressing enter and it gets selected i want the component (e.g JTextField) inside the cell to get focus.

I have had a long hard look at the JTable class, inside i know there is a protected inner class called AccessibleJTableCell inside which it has the method addFocusListener(). The problem is that i dont know how to access that class.

Please could annyone help.
Thanks in advance

Talhah Mafawalla
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!