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

JLabel and AbstractButton's imageUpdate method should be better specified

    XMLWordPrintable

Details

    • b10
    • x86
    • windows_xp

    Description

      The doc for these methods currently reads:

           * This is overridden to return false if the current Icon's Image is
           * not equal to the passed in Image <code>img</code>.

      But this isn't quite right as Icon's don't have an Image. Instead it should say something like:

      returns true if one of this JLabel's icon or disabled icon is derived from
      ImageIcon and it's Image is equal to the image passed in; false
      otherwise.

      Attachments

        Issue Links

          Activity

            People

              abhiscxk Abhishek Kumar
              svioletsunw Scott Violet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: