I use the following code to create a JTabbedPane
new JTabbedPane(JTabbedPane.LEFT,JTabbedPane.SCROLL_TAB_LAYOUT);
It results in a scroll that is smaller in width than the tab selection area

How can I make the scroll width wider so that it fits the tab selection area?
You can extend
BasicTabbedPaneUIand implement you own button increateScrollButton()providing new preferred size. It looks likeBasicTabbedPaneUIhas its own private implementation for these buttons –ScrollableTabButton. You can create something similar, like the following:And to setup new UI: