RFR: 6391806: JLabel and AbstractButton's imageUpdate method should be better specified [v4]
Abhishek Kumar
duke at openjdk.org
Tue Jun 28 11:15:43 UTC 2022
On Tue, 28 Jun 2022 10:58:39 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:
>>
>> image changed to Image and newline added
>
> src/java.desktop/share/classes/javax/swing/AbstractButton.java line 2151:
>
>> 2149: * Returns <code>true</code> if the button icon for present button state
>> 2150: * is an instance of ImageIcon and the image it contains is same as the
>> 2151: * <code>Image</code>, <code>false</code> otherwise.
>
> we need to mention "same as the passed in Image" in both..
added
-------------
PR: https://git.openjdk.org/jdk/pull/9240
More information about the client-libs-dev
mailing list