Search:

Type: Posts; User: Cornix

Search: Search took 0.09 seconds.

  1. Re: JLabel as part of JTabbedPane tab component overwrites background color

    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.
  2. Re: JLabel as part of JTabbedPane tab component overwrites background color

    Do you mean "setOpaque(boolean)"?
    I tried that and it didnt make a difference. If you meant something else please elaborate.
  3. JLabel as part of JTabbedPane tab component overwrites background color

    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:
    ...
Results 1 to 3 of 3