Как скрыть размещение вкладок в JTabbedpane? ⇐ JAVA
-
Anonymous
Как скрыть размещение вкладок в JTabbedpane?
i am using JTabbedPane in my project. In this i can change the tab placement to TOP, BOTTOM, LEFT, RIGHT.Like,
tabbedPane.setTabPlacement(JTabbedPane.BOTTOM); tabbedPane.setTabPlacement(JTabbedPane.TOP); But i want to hide all tabs and just use like a normal panel by using Tabbed index id instead of showing that tab on my design. Is there any way to hide tab placement in java swing like,
tabbedPane.setTabPlacement(null);
Источник: https://stackoverflow.com/questions/254 ... abbed-pane
i am using JTabbedPane in my project. In this i can change the tab placement to TOP, BOTTOM, LEFT, RIGHT.Like,
tabbedPane.setTabPlacement(JTabbedPane.BOTTOM); tabbedPane.setTabPlacement(JTabbedPane.TOP); But i want to hide all tabs and just use like a normal panel by using Tabbed index id instead of showing that tab on my design. Is there any way to hide tab placement in java swing like,
tabbedPane.setTabPlacement(null);
Источник: https://stackoverflow.com/questions/254 ... abbed-pane
Мобильная версия