Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P3
-
Resolution: Fixed
-
Affects Version/s: 15, 16, 17
-
Fix Version/s: 17
-
Component/s: client-libs
-
Labels:
-
Subcomponent:
-
Resolved In Build:b21
Description
The current state of specification for
https://docs.oracle.com/en/java/javase/15/docs/api/java.desktop/javax/swing/plaf/BorderUIResource.BevelBorderUIResource.html#%3Cinit%3E(int,java.awt.Color,java.awt.Color)
says
Parameters:
highlight - the color to use for the bevel highlight
shadow - the color to use for the bevel shadow
In fact for OpenJDK implementation the passed colors are the "inner highlight" and "outer shadow" properties of BevelBorder
https://docs.oracle.com/en/java/javase/15/docs/api/java.desktop/javax/swing/plaf/BorderUIResource.BevelBorderUIResource.html#%3Cinit%3E(int,java.awt.Color,java.awt.Color)
says
Parameters:
highlight - the color to use for the bevel highlight
shadow - the color to use for the bevel shadow
In fact for OpenJDK implementation the passed colors are the "inner highlight" and "outer shadow" properties of BevelBorder
Attachments
Issue Links
- clones
-
JDK-8263481 Specification of JComponent::setDefaultLocale doesn't mention that passing 'null' restores VM's default locale
-
- Resolved
-
- csr for
-
JDK-8264706 BevelBorderUIResource(int, Color, Color) spec should mention that the passed colors are for highlightInner and shadowOuter props
-
- Closed
-