Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4346934

provide DefaultComboBoxEditor implementation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.0
    • client-libs



      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)
      ======================================================================

            mdavidsosunw Mark Davidson (Inactive)
            jkimsunw Jeffrey Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: