This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Problem with JTabbedPane header

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!

Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!