CVSROOT: /cvsroot/classpath Module name: classpath Changes by: Roman Kennke <rabbit78> 06/06/21 13:23:07
Modified files: javax/swing/plaf/metal: MetalUtils.java . : ChangeLog Log message: 2006-06-21 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/metal/MetalUtils.java (paintHorizontalGradient): Use paintHorizontalGradient2D when Graphics2D is available. Use fillRect instead of drawLine, this is much faster. (paintVerticalGradient): Use paintHorizontalGradient2D when Graphics2D is available. Use fillRect instead of drawLine, this is much faster. (paintHorizontalGradient2D): New method. Paints gradient using Graphics2D functions. (paintVerticalGradient2D): New method. Paints gradient using Graphics2D functions. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/metal/MetalUtils.java?cvsroot=classpath&r1=1.13&r2=1.14 http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.7897&r2=1.7898 Patches: Index: ChangeLog =================================================================== RCS file: /cvsroot/classpath/classpath/ChangeLog,v retrieving revision 1.7897 retrieving revision 1.7898 diff -u -b -r1.7897 -r1.7898 --- ChangeLog 21 Jun 2006 13:13:39 -0000 1.7897 +++ ChangeLog 21 Jun 2006 13:23:06 -0000 1.7898 @@ -1,5 +1,19 @@ 2006-06-21 Roman Kennke <[EMAIL PROTECTED]> + * javax/swing/plaf/metal/MetalUtils.java + (paintHorizontalGradient): Use paintHorizontalGradient2D when + Graphics2D is available. Use fillRect instead of drawLine, this + is much faster. + (paintVerticalGradient): Use paintHorizontalGradient2D when + Graphics2D is available. Use fillRect instead of drawLine, this + is much faster. + (paintHorizontalGradient2D): New method. Paints gradient + using Graphics2D functions. + (paintVerticalGradient2D): New method. Paints gradient + using Graphics2D functions. + +2006-06-21 Roman Kennke <[EMAIL PROTECTED]> + * javax/swing/plaf/basic/BasicButtonListener.java (propertyChange): Create a TextLayout and store it in the button when the 'text' property changes.