• Post Reply Bookmark Topic Watch Topic
  • New Topic

Detecting mouse events in JTable

 
Jody Seigle
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way make a JTable set a row as selected when the Right
mouse button is pressed as well as the left. Who is the listener for mouse events on a JTable that does the row selection?
Thanks for any help.
 
keiyia jackson
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MouseAdapter
 
Yanick Gaudet
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could someone post more detail on the MouseAdapter answer?
Thanks a bunch,
Yanick
 
raoul schmidiger
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!