Meaningless Drivel is fun!*
The moose likes Swing / AWT / SWT and the fly likes Problem with JTabbedPane header 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 "Problem with JTabbedPane header" Watch "Problem with JTabbedPane header" New topic
Author

Problem with JTabbedPane header

Angel Arcos
Greenhorn

Joined: Jun 07, 2010
Posts: 1
Hi all, i'm a frequent user of the forum but this is the first time i have not found a solution to the problem i'm dealing with.
Ii'm working on an application with a JTabbedPane that should look like this:


So far i have overwritten BasicTabbedpaneUI to give my own panel the desired effects in tabs and i have also extended JTabbedPane class to add the logo image behind the tabs. Now my tabbedpane looks like:


The worst part is trying to add other panel in the header of the JtabbedPane, the panel with the red border in the first image. I thought something like using a GlassPane to show the elements in the outer pane, but due to my app requirements it should be in the same component...

Anyone has an idea of how to solve this problem? Any guidelines would be appreciated.

Thanks in advance!

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with JTabbedPane header
 
Similar Threads
spin control
JTabbedPane - traversing focus through tabs
keyboard shortcuts to move between tabs inJTabbedPane
2 dimensional JTabbedPane
jtable checkbox header and checkbox in cell (event)