-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
1.3.0
-
generic
-
generic
Name: jk109818 Date: 06/20/2000
java version "1.3.0rc3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc3-Z)
Java HotSpot(TM) Client VM (build 1.3.0rc3-Z, mixed mode)
Currently the Swing library is missing a DefaultComboBoxEditor class. The
basic plaf implementation directly extends the ComboBoxEditor interface.
Problems:
1. Inconsitent API reletavely to other Swing components: JTable, JList,
JTree, etc., all of which provide a default implementation of their editors.
2. A UI delegate is actaully implementing some of the controller's
functionality.
3. In order to implement a custom editor that can work with anything besides
plain Strings, one would need to repeat all of the functionality of
swing.plaf.basic.BasicComboBoxEditor or extends from it, which smell more like
a hack.
(Review ID: 104959)
======================================================================
- duplicates
-
JDK-4322996 Add BasicComboBoxEditor constructor that accepts a JTextField
-
- Closed
-