wood burning stoves*
The moose likes Swing / AWT / SWT and the fly likes Can I have listener on the table header? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Can I have listener on the table header?" Watch "Can I have listener on the table header?" New topic
Author

Can I have listener on the table header?

Samuel Chan
Greenhorn

Joined: Jun 10, 2001
Posts: 20
I want to have some event when the user click on the table header.
Any idea?
Thanks.
Manfred Leonhardt
Ranch Hand

Joined: Jan 09, 2001
Posts: 1492
Hi Samuel,
Yes, some idea. Replace MouseMotion with MouseClicked and you have a great example.

Enjoy,
Manfred.
 
jQuery in Action, 2nd edition
 
subject: Can I have listener on the table header?
 
Similar Threads
how to delete a row header
Regarding Display Tag
Wants Header of a JTable to be static.
Table header renderer
URGENT-Change cell width