On Tue, 4 Nov 2025 00:45:20 GMT, Sergey Bylokhov <[email protected]> wrote:
>> Prasanta Sadhukhan has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> javadoc
>
> src/java.desktop/share/classes/javax/swing/border/BevelBorder.java line 107:
>
>> 105: public BevelBorder(int bevelType, Color highlight, Color shadow) {
>> 106: this(bevelType, (highlight != null) ? highlight.brighter() :
>> null,
>> 107: highlight, shadow, (shadow != null) ? shadow.brighter() :
>> null);
>
> The case where the code skips all these parameters and uses the component
> colors is not documented in this constructor and in the factory methods?
Updated javadoc
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27949#discussion_r2488494373