[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug swing/26772] Toolbar buttons in Swing demo should not be painted wi

From: thebohemian at gmx dot net
Subject: [Bug swing/26772] Toolbar buttons in Swing demo should not be painted with gradient
Date: 19 May 2006 13:37:07 -0000

------- Comment #3 from thebohemian at gmx dot net  2006-05-19 13:37 -------
This was fixed by the following patches:

2006-05-19  Robert Schuster  <address@hidden>

        * java/awt/LightweightDispatcher.java: Added field dragButton and
        documentation for it.
        (handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
        added subexpression to if-clause in MOUSE_RELEASED case.

2006-05-19  Robert Schuster  <address@hidden>

        * javax/swing/metal/MetalButtonUI.java:
        (update): Removed some subexpression from if-clause and call
        (updateWithGradient): New method.

2006-05-19  Robert Schuster  <address@hidden>

        * javax/swing/plaf/basic/BasicToolBarUI.java:
        (createNonRolloverBorder): Rewritten.
        (createRolloverBorder): Rewritten.
        (setToNonRolloverBorder): Store old border instance in hashtable.
        (setToRolloverBorder): Store old border instance in hashtable, use
        AbstractButton instead of JButton in statements.
        (setBorderToNormal): Rewritten.
        * javax/swing/plaf/metal/MetalLookAndFeel.java:
        (initComponentDefaults): Added values for ToolBar.rolloverBorder and

2006-05-18  Robert Schuster  <address@hidden>

        * java/awt/LightweightDispatcher.java:
        (handleMouseEvent): Added note, added subexpression to if-statement.

2006-05-18  Robert Schuster  <address@hidden>

        * javax/swing/plaf/basic/BasicToolBarUI.java:
        (navigateFocusedComp): Marked as stub.
        (createRolloverBorder): Create a different Border instance, added note.
        * javax/swing/plaf/metal/MetalBorders.java:
        (ButtonBorder): Added documentation.
        (ButtonBorder.paintDefaultButtonBorder): Added else-block.
        (ButtonBorder.paintOceanButtonBorder): Added else-block, added
        subexpression into if-else cascade, added note.


thebohemian at gmx dot net changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |0.92


reply via email to

[Prev in Thread] Current Thread [Next in Thread]