CVSROOT: /cvsroot/classpath Module name: classpath Changes by: Roman Kennke <rabbit78> 07/04/03 20:34:28
Modified files: javax/swing/plaf/basic: BasicLabelUI.java . : ChangeLog Log message: 2007-04-03 Roman Kennke <[EMAIL PROTECTED]> * javax/swing/plaf/basic/BasicLabelUI.java (cachedInsets): New field. Used for reusing the insets instance. (getFontMetrics): New helper method for fetching a suitable FontMetrics object. (getPreferredSize): Use new helper method for font metrics. (paint): Only do something if we have an icon or text. Use cached Insets instance and new font metrics helper. (paintDisabledText): Don't restore the graphics' color. (paintEnabledText): Don't restore the graphics' color. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicLabelUI.java?cvsroot=classpath&r1=1.25&r2=1.26 http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9201&r2=1.9202