<Swing Dev> RFR: 8264398: BevelBorderUIResource​(int, Color, Color) spec should mention that the passed colors are for highlightInner and shadowOuter props

Sergey Bylokhov serb at openjdk.java.net
Thu Apr 8 01:03:55 UTC 2021


On Thu, 8 Apr 2021 00:56:34 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> In this context and BevelBorder context, 'derived' is used for brighter/darker version of the same color and as per Color.brighter method https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/java/awt/Color.java#L636
>> it can return the same color on case-to-case basis.
>
> Please update the title of the bug/PR, since the change now in another class.

BevelBorder vs BevelBorderUIResource. The BevelBorderUIResource is a UIResource version of BevelBorder and its spec is just a copy.

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

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


More information about the swing-dev mailing list