bug-classpath
[Top][All Lists]
Advanced

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

[Bug swing/29036] TEXT_LAYOUT_CACHE is preventing font update after UI c


From: cvs-commit at developer dot classpath dot org
Subject: [Bug swing/29036] TEXT_LAYOUT_CACHE is preventing font update after UI change
Date: 27 Sep 2006 19:14:20 -0000


------- Comment #4 from cvs-commit at developer dot classpath dot org  
2006-09-27 19:14 -------
Subject: Bug 29036

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Roman Kennke <rabbit78> 06/09/27 19:12:38

Modified files:
        javax/swing/plaf/basic: BasicButtonUI.java BasicMenuItemUI.java 
        .              : ChangeLog 

Log message:
        2006-09-27  Roman Kennke  <address@hidden>

                PR 29036
                PR 29161
                * javax/swing/plaf/basic/BasicButtonUI.java
                (cachedInsets): New field.
                (installListeners): Fire synthetic property change to
initialize
                TEXT_LAYOUT_CACHE for the button because the font has been
                installed before.
                (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
                (paint): Use cached insets.
                (paintText): Let new method forward to old one, not vice versa.
                * javax/swing/plaf/basic/BasicMenuItemUI.java
                (defaultAcceleratorLabelGap): Removed unused field.
                (MenuGap): Removed unused field.
                (propertyChangeListener): Made private.
                (getAcceleratorRect): Removed unused method.
                (getAcceleratorText): Removed unused method.
                (getPath): Removed unnecessary cast.
                (installListeners): Fire synthetic property change to
initialize
                TEXT_LAYOUT_CACHE for the button because the font has been
                installed before.
                (uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
                (layoutMenuItem): Removed unused statements.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicButtonUI.java?cvsroot=classpath&r1=1.42&r2=1.43
http://cvs.savannah.gnu.org/viewcvs/classpath/javax/swing/plaf/basic/BasicMenuItemUI.java?cvsroot=classpath&r1=1.51&r2=1.52
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8624&r2=1.8625


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29036





reply via email to

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