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

ComboBoxModel documentation refers to a nonexistant type

    XMLWordPrintable

Details

    • CSR
    • Status: Draft
    • P4
    • Resolution: Unresolved
    • None
    • client-libs
    • None
    • behavioral
    • minimal
    • No behavior change - javadoc comment only so minimal risk
    • Java API
    • SE

    Description

      Summary

      Rectify the javadoc anomaly that javax.swing.ComboBoxModel extends ListDataModel, where in reality, it extends ListModel.

      Problem

      javadoc of javax.swing.ComboBoxModel incorrectly specifies it extends "ListDataModel" but actually extends ListModel.

      Solution

      Rectified the javadoc to specify javax.swing.ComboBoxModel extends ListModel.

      Specification

       package javax.swing;
      
       /**
      - * A data model for a combo box. This interface extends <code>ListDataModel</code>
      + * A data model for a combo box. This interface extends <code>ListModel</code>
        * and adds the concept of a <i>selected item</i>. The selected item is generally
        * the item which is visible in the combo box display area.
        * <p>
      public interface ComboBoxModel<E> extends ListModel<E> {

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: