I need to hide the JTabbedPane
titles because I'm creating my own buttons to access the tabs.
I need to hide the JTabbedPane
titles because I'm creating my own buttons to access the tabs.
I was able to solve using CardLayout, it's made for it
Skywalker
I do not know if there is anything like setTabVisible(boolean b)
. But you can use the method of JTabbedPane
setTabComponentAt
:
jTabbedPane1.setTabComponentAt(int index, Component c);
You should do for every flap. Sending null
as a component will not work, but try to send a panel with zero width and height.