wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Redirect mouse click from a tab Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Redirect mouse click from a tab" Watch "Redirect mouse click from a tab" New topic
Author

Redirect mouse click from a tab

Tay Thotheolh
Ranch Hand

Joined: Aug 07, 2008
Posts: 84
Hi. I have a couple of tabs and I want to make it in a way that whenever the first tab is clicked... nothing would happen and the panels wouldn't change. I do not want to enable/disable it. What should I do ? Should I intercept the mouse events whenever the first tab is clicked ? How should I go about doing it.

Thanks.

Regards,
Thotheolh.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Redirect mouse click from a tab
 
Similar Threads
if MouseListener is added to component ..
mouse click
Change Mouse Cursor with JTabbedPane
JPopMenu and TabbedPane
To Use the Test Server in RAD 6.0