How to make JTabbedPane transparent?

B

bernd_no_junk

Hi,

does anybody know, how to make a JTabbedPane transparent?
I tried setOpaque(false) on the JTabbedPane and all
its tab-panes, but it doesn't work.

Thanks for your help.

Bernd
 
B

Bernd

Hi,

does anybody know, how to make a JTabbedPane transparent?
I tried setOpaque(false) on the JTabbedPane and all
its tab-panes, but it doesn't work.

Thanks for your help.

Bernd

Ok, i found a workaround for the problem.

Perhaps this is useful for somebody else:

I had a look at the java source code, then - after some
trial and error- implemented a new TabbedPaneUI by overriding
a couple of methods. That did it.

If somebody knows a more elegant way, please post.

Greetings

Bernd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top