Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

[B&S]Why my TableModelListener can't work?  RSS feed

 
Wills Ni
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can't understand why when I add "tableEventHandler " into TableModel of Jtable,my other actionlistener does not work.

The tableEventHandler was write in xxxViewImpl class, and invoked addxxxlistener method in xxxGUi class to add tableEventHandler.If I did'nt add the tableEventHandler ,my other ActionListener work well.Anybody meet same as me?
 
Wills Ni
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My program does not work because that when I registried the TableModelListener in my xxxViewImpl ,my other listener also do not work.When I click the buttons,they do nothing.Could you tell me how to correct this problem?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!