This fix should help avoid a division by zero error in
BasicTabbedPaneUI.
2006-10-12 Roman Kennke [EMAIL PROTECTED]
PR 2873
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(TabPaneLayout.normalizeTabRuns): Replaced algorithm with
one that avoids faulty state
Hi,
by calling the getTabRunOverlay method from
BasicTabbedPaneUI.calculateTabAreaWidth (and calculateTabAreaHeight) instead of
accessing the variable directly the overridden behavior in MetalTabbedPaneUI
comes to effect.
This fixes the ill positioning of the content area in tabbed panes with