Skip to content
Browse files
6251901: BasicTextUI: installDefaults method are contrary to the docu…

Reviewed-by: azvegint, kizune, aivanov
  • Loading branch information
prsadhuk committed Mar 10, 2021
1 parent fdd3941 commit c0542ed85eff9c3843d0d21441a5a6486a7ba139
Showing 1 changed file with 2 additions and 4 deletions.
@@ -303,10 +303,8 @@ private void updateBackground(JTextComponent c) {
* Initializes component properties, such as font, foreground,
* background, caret color, selection color, selected text color,
* disabled text color, and border color. The font, foreground, and
* background properties are only set if their current value is either null
* or a UIResource, other properties are set if the current
* value is null.
* disabled text color, border, and margin. Each property is set
* if its current value is either null or a UIResource.
* @see #uninstallDefaults
* @see #installUI

0 comments on commit c0542ed

Please sign in to comment.