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.

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

Commit messages:
 - 6251901: BasicTextUI: installDefaults method are contrary to the 
documentation

Changes: https://git.openjdk.java.net/jdk/pull/2888/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2888&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-6251901
  Stats: 4 lines in 1 file changed: 0 ins; 2 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2888.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2888/head:pull/2888

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

Reply via email to