Thanks copeq, I did not make the Tab opaque, only the label, and that was the trick.
You really helped me out a lot.
In retrospect, I am pretty stupid for making such a mistake.
Type: Posts; User: Cornix
Thanks copeq, I did not make the Tab opaque, only the label, and that was the trick.
You really helped me out a lot.
In retrospect, I am pretty stupid for making such a mistake.
Do you mean "setOpaque(boolean)"?
I tried that and it didnt make a difference. If you meant something else please elaborate.
Hi there,
I am using my own custom component for a JTabbedPanes tab component. My custom component consists of a JLabel and a JButton (to close the tab).
Code of the custom component:
...