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 <[EMAIL PROTECTED]> 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