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

ComboBoxModel documentation refers to a nonexistent type

    XMLWordPrintable

Details

    • b13
    • generic
    • generic

    Description

      ADDITIONAL SYSTEM INFORMATION :
      Documentation issue only.

      A DESCRIPTION OF THE PROBLEM :
      The class (interface) javadoc comment for javax.swing.ComboBoxModel uses the sentence "This interface extends ListDataModel and adds [...]"

      There is no such ListDataModel interface. There are ListDataEvent and ListDataListener types, and in prose we speak of a "list data model", but a formal type of that name is not part of Swing. The actual parent interface is ListModel (no "Data").


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Read the ComboBoxModel class documentation.

      2. Become momentarily confused.

      3. Realize it's a minor historical artifact that never got cleaned up.


      FREQUENCY : always


      Attachments

        Issue Links

          Activity

            People

              psadhukhan Prasanta Sadhukhan
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: