aspose file tools*
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can I have listener on the table header?