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

DefaultTableCellRenderer.setBackground() documentation error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • docs
    • beta
    • x86
    • windows_nt



      Name: krT82822 Date: 02/17/2000


      C:\javaBugs\JDK1.3_RC1_SetBackgroundBug>java -version
      java version "1.3.0rc1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
      Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)

      Javadoc for javax.swing.table.DefaultTableCellRenderer.setBackground(color c)
      erroneously says that setBackground overrides JComponent.setForeground():

                setBackground(Color c)
                          Overrides JComponent.setForeground to assign the
      unselected-background color to the
                specified color.
      (Review ID: 101384)
      ======================================================================

            sharonz Sharon Zakhour (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: