Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P5
-
Resolution: Fixed
-
Affects Version/s: 6
-
Fix Version/s: 20
-
Component/s: client-libs
-
Labels:
-
Subcomponent:
-
Resolved In Build:b10
-
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.
* 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
- csr for
-
JDK-8289490 JLabel and AbstractButton's imageUpdate method should be better specified
-
- Closed
-
- relates to
-
JDK-4399407 Drawing an offscreen image through a filtered image doesn't work anymore
-
- Closed
-