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

Erroneous javadoc for TableColumn.addPropertyChangeListener

XMLWordPrintable

    • b56
    • generic, x86
    • generic, windows_2000



        Name: jl125535 Date: 04/16/2003


        A DESCRIPTION OF THE PROBLEM :
        The javadoc for the method addPropertyChangeListener
        (PropertyChangeListener) on the
        javax.swing.table.TableColumn class should be rewritten. See http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/table/TableColumn.html#addPropertyChangeListener(java.beans.PropertyChangeListener)

        It seems to have been copied from Component or JComponent
        class and refers several invalid method names (setFont,
        setBackground, setForeground) and to an invalid Container
        parent.

        The javadoc should either remove the examples or add
        examples of property names from the TableColumn class.

        (Review ID: 159142)
        ======================================================================

              serb Sergey Bylokhov
              jleesunw Jon Lee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: