[go: up one dir, main page]

Menu

Commit [r5299]  Maximize  Restore  History

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".

Secondary the custom SmartTabbedPaneUI was removed from SmartTabbedPane because of the different look from the configured L&F.

forsch 2012-08-01

changed /trunk/Disy_Commons_Swing_Dialog/src/main/java/net/disy/commons/swing/dialog/tabbed/SmartTabbedPane.java
renamed /trunk/Disy_Commons_Swing_Dialog/src/main/java/net/disy/commons/swing/dialog/tabbed/internal/ExtendedJTabbedPane.java -> /trunk/Disy_Commons_Swing_Dialog/src/main/java/net/disy/commons/swing/dialog/tabbed/internal/RestrictedJTabbedPane.java
removed /trunk/Disy_Commons_Swing_Dialog/src/main/java/net/disy/commons/swing/dialog/tabbed/internal/SmartTabbedPaneUi.java