RFR: 6391806: JLabel and AbstractButton's imageUpdate method should be better specified [v6]

Abhishek Kumar duke at openjdk.org
Mon Jul 18 04:54:57 UTC 2022


On Fri, 15 Jul 2022 22:11:48 GMT, Phil Race <prr at openjdk.org> wrote:

>> Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   JLabel and AbstractButton imageUpdate method description modified
>
> src/java.desktop/share/classes/javax/swing/AbstractButton.java line 2150:
> 
>> 2148:     /**
>> 2149:      * If the button icon for present button state is either <code>null</code>
>> 2150:      * or not an <code>ImageIcon</code> with an <code>Image</code> equal to the
> 
> assuming the intent is correct, "for the current button state" reads better than "for present button state"

"for present button state" text replaced with "for the current button state".

-------------

PR: https://git.openjdk.org/jdk/pull/9240



More information about the client-libs-dev mailing list