Firefox like tabs in Jtabbedpane
I am writing a simple code editor in JAVA
and iam using Widows (System) look and feel
, since in each code editor you can open multiple files in tabs
, but the problem is that there is a large number of tabs that they will place on multiple lines and I want to keep them in one line since Firefox
this is what happens to my editor
what i want to achieve
kindly help me how to do this
source to share
and iam using the Widows (System) look and feel like in each code editor you can open multiple files in tabs, but the problem is if there is a large number of tabs that they will place on multiple lines and I want to keep them in one line like Firefox does here, what's going on with my editor
use this JTabbedPane setting to get exact result with FireFox or Chrome platforms on the platform
JTabbedPane tabbedPane = new JTabbedPane(
JTabbedPane.TOP,
JTabbedPane.SCROLL_TAB_LAYOUT);
source to share