<Swing Dev> RFR: 6251901: BasicTextUI: installDefaults method are contrary to the documentation [v3]
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Wed Mar 10 04:38:20 UTC 2021
On Tue, 9 Mar 2021 21:17:13 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> src/java.desktop/share/classes/javax/swing/plaf/basic/BasicTextUI.java line 306:
>>
>>> 304: * Initializes component properties, such as font, foreground,
>>> 305: * background, caret color, selection color, selected text color,
>>> 306: * disabled text color, and border color. All properties are set
>>
>> This method is also affects a margin, but it is does not mentioned in the javadoc.
>
> Does the list of properties listed in the javadoc have to be comprehensive? However, `margin` seems to be the only property omitted from the list.
I have added margin too,
-------------
PR: https://git.openjdk.java.net/jdk/pull/2888
More information about the swing-dev
mailing list