<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:00:08 UTC 2021
On Tue, 6 Apr 2021 12:31:00 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> Does 'derived' in javax.swing domain mean the color would be different, or 'equal color' also qualifies as 'derived' javax.swing?
>
> 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.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3305
More information about the swing-dev
mailing list