I am trying to change the background color of my tabs in a JTabbedPane
. I tried JTabbedPane.setBackgroudAt(0, Color.GRAY)
and JTabbedPane.set
most of method for JTabbedPane
is protected in the API, and not accesible from Swing methods
have to look for Custom XxxTabbedPaneUI
, override these methods, and could be accesible from outside
correct way would be to implement Custom Look & Feel only, part of them override JTabbedPane
example for Custom XxxTabbedPaneUI