On Sat, 10 Apr 2021 02:56:07 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

>> src/java.desktop/share/classes/javax/swing/border/BevelBorder.java line 89:
>> 
>>> 87:      * Creates a bevel border with the specified type, highlight and
>>> 88:      * shadow colors.
>>> 89:      * highlightOuterColor and highlightInnerColor will be derived from
>> 
>> I think we should use just a brief text for "highlightOuterColor"/etc like 
>> in the other parts of class "the outer shadow"/"the inner shadow"/"the inner 
>> highlight" etc.  Since in this particular case the highlightOuterColor is 
>> not a parameter nor a field.
>> And please update the copyright dates.
>
> I guess I have done what is being asked. Are there any other comments? If 
> not, can this PR and CSR be approved please?

So as per the updated version of the specification - what could be checked is 
that the resulting inner/outer/highlight/shadow colors should be either:
 - equal to the passed
 - ::brighter() than the passed
 - darker() than the passed
 ?

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

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

Reply via email to