CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Roman Kennke <[EMAIL PROTECTED]>        06/03/20 22:11:55

Modified files:
        javax/swing/plaf/metal: MetalTabbedPaneUI.java 
        .              : ChangeLog 

Log message:
        2006-03-20  Roman Kennke  <[EMAIL PROTECTED]>
        
        * javax/swing/plaf/metal/MetalTabbedPaneUI.java
        (TabbedPaneLayout.normalizeTabRuns): New method.
        (createLayoutManager): Return the Metal TabbedPaneLayout, not super.
        (paintTabBorder): Replaced if-else chain with switch.
        (paintTopTabBorder): Rewritten to correctly paint tab. Also support
        Ocean theme.
        (paintBottomTabBorder): Rewritten to correctly paint tab. Also support
        Ocean theme.
        (paintLeftTabBorder): Rewritten to correctly paint tab. Also support
        Ocean theme.
        (paintRightTabBorder): Rewritten to correctly paint tab. Also support
        Ocean theme.
        (paintTabBackground): Fetch background color from the TabbedPane.
        Fixed painting and improved by not using fillPolygon, and instead
        using fillRectangle. Replaced if-else chain with switch.
        (calculateMaxTabHeight): Added overridden method with FIXME.
        (getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
        placement.
        (paintContentBorderTopEdge): Added stub with FIXME.
        (paintContentBorderBottomEdge): Added stub with FIXME.
        (paintContentBorderLeftEdge): Added stub with FIXME.
        (paintContentBorderRightEdge): Added stub with FIXME.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/plaf/metal/MetalTabbedPaneUI.java.diff?tr1=1.15&tr2=1.16&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6834&tr2=1.6835&r1=text&r2=text


Reply via email to