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

RFE: comboBoxChanged and comboBoxEdited not documented

XMLWordPrintable

      Name: jl125535 Date: 01/27/2003


      A DESCRIPTION OF THE PROBLEM :
      The actions generated by JComboBoxes include
      a command string that can be "comboBoxEdited" and
      "comboBoxChanged".

      However, the exact meaning of these strings is not
      described in the JComboBox spec, and these strings
      are not declared as public constants either. The
      lunar phases example use the comboBoxChanged, though.

      Here is the documentation that is currently available: http://java.sun.com/j2se/1.4/docs/api/javax/swing/JComboBox.html#getActionCommand()

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      It would help if the use of these commands could be part
      of the specification, so that programmers can rely on their
      meanings before using them in their code.
      (Review ID: 147112)
      ======================================================================

            Unassigned Unassigned
            jleesunw Jon Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: