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

JComboBox needs to document that setSelectedIndex( -1 ) means no selection

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.1.7, 1.2.0
    • client-libs
    • None
    • beta
    • generic, sparc
    • generic, solaris_2.5.1

      Calling setSelectedIndex( -1 ) on a JComboBox or calling setSelectedItem( null ) on a ComboBoxModel will cause the selection to become empty. This is not documented anywhere.

            mdavidsosunw Mark Davidson (Inactive)
            tsantossunw Tom Santos (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: