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

JLabel and AbstractButton's imageUpdate method should be better specified

    Details

    • Subcomponent:
    • Understanding:
      Cause Known
    • CPU:
      x86
    • OS:
      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

              • Assignee:
                Unassigned
                Reporter:
                svioletsunw Scott Violet (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Imported:
                  Indexed: