Bugfix: Some L&Fs do not support the tab layout policy "JTabbedPane.SCROLL_TAB_LAYOUT" for example the L&F from JGoodies Looks. If the policy would be set to "SCROLL_TAB_LAYOUT" the tab title component will be empty. Setting a custom tabbed pane UI as workaround for this will cause a ClassCastException at the try of scrolling. Because of that the tab layout policy is set to "WRAP_TAB_LAYOUT".