• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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?
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!