<Swing Dev> Integrated: 6251901: BasicTextUI: installDefaults method are contrary to the documentation

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Wed Mar 10 12:51:08 UTC 2021


On Tue, 9 Mar 2021 08:09:04 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> BasicTextUI: installDefaults javadoc specifies only font, foreground and background properties are set  if their current value is either null or a UIResource
> and other properties are set if the current value is null
> but in reality all properties such as font, foreground, background, caret color, selection color, selected text color, disabled text color, and border color are set if their current value is either null or a UIResource.
> Fixed the javadoc to specify the same.

This pull request has now been integrated.

Changeset: c0542ed8
Author:    Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/c0542ed8
Stats:     4 lines in 1 file changed: 0 ins; 2 del; 2 mod

6251901: BasicTextUI: installDefaults method are contrary to the documentation

Reviewed-by: azvegint, kizune, aivanov

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

PR: https://git.openjdk.java.net/jdk/pull/2888


More information about the swing-dev mailing list