CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Roman Kennke <[EMAIL PROTECTED]> 06/03/19 11:04:24
Modified files:
. : ChangeLog
javax/swing/plaf/basic: BasicComboBoxEditor.java
BasicComboBoxUI.java
javax/swing/plaf/metal: MetalComboBoxButton.java
MetalComboBoxEditor.java
MetalComboBoxUI.java
Log message:
2006-03-18 Roman Kennke <[EMAIL PROTECTED]>
* javax/swing/plaf/basic/BasicComboBoxEditor.java
(listener): Removed field.
(BasicComboBoxEditor): Removed initialization of listener field.
(addActionListener): Add listener directly to editor.
(removeActionListener): Remove listener directly from editor.
(ComboBoxEditorListener): Removed class.
* javax/swing/plaf/basic/BasicComboBoxUI.java
(getPreferredSize): Fixed to return the minimumSize.
(getMinimumSize): Improved code for more clearness.
(getMaximumSize): Return (32767,32767) as requested by the mauve test.
(rectangleForCurrentValue): Correctly respect insets.
(getDefaultSize): Return preferredSize here. Dont override height
with 100.
(getDisplaySize): Moved around code for more clearness. Added
handling of prototype renderer.
(ComboBoxLayoutManager.layoutContainer): Set editor bounds after
arrowButton bounds since the former depends on the latter.
* javax/swing/plaf/metal/MetalComboBoxButton.java:
(MetalComboBoxButton): Make button rollover disabled.
(isFocusTraversable): Return false unconditionally.
* javax/swing/plaf/metal/MetalComboBoxEditor.java:
(EditorTextField): New class. Fixes the size properties.
(MetalComboBoxEditor): Create instance of EditorTextField.
* javax/swing/plaf/metal/MetalComboBoxUI.java:
(getMinimumSize): Fixed editable size.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6805&tr2=1.6806&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicComboBoxEditor.java.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicComboBoxUI.java.diff?tr1=1.32&tr2=1.33&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/plaf/metal/MetalComboBoxButton.java.diff?tr1=1.8&tr2=1.9&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/plaf/metal/MetalComboBoxEditor.java.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/plaf/metal/MetalComboBoxUI.java.diff?tr1=1.10&tr2=1.11&r1=text&r2=text