• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I have listener on the table header?

 
Samuel Chan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to have some event when the user click on the table header.
Any idea?
Thanks.
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Samuel,
Yes, some idea. Replace MouseMotion with MouseClicked and you have a great example.

Enjoy,
Manfred.
 
Paper has not yet been outlawed – so let your Java Swing application print with wild abandon: JPDF
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!