RFR: 6391806: JLabel and AbstractButton's imageUpdate method should be better specified [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Tue Jun 28 09:42:42 UTC 2022
On Tue, 28 Jun 2022 09:12:32 GMT, Abhishek Kumar <duke at openjdk.org> wrote:
>> JLabel and AbstractButton's imageUpdate method description updated.
>
> Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:
>
> JLabel and Abstract Button's imageUpdate method description changed
src/java.desktop/share/classes/javax/swing/AbstractButton.java line 2150:
> 2148: /**
> 2149: * Returns true if the button icon for present button state is an instance of ImageIcon
> 2150: * and the image it contains is same as the <code>image</code>.
boolean value should be put under <code>true</code>...also you should add "<code>false</code> otherwise"
-------------
PR: https://git.openjdk.org/jdk/pull/9240
More information about the client-libs-dev
mailing list