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:b15
Description
The current state of specification for
https://docs.oracle.com/en/java/javase/15/docs/api/java.desktop/javax/swing/JComponent.html#setDefaultLocale(java.util.Locale)
doesn't mention anything about passing 'null' as a new default locale.
In fact for OpenJDK implementation passing 'null' restores the default VM's locale for newly created JComponents.
https://docs.oracle.com/en/java/javase/15/docs/api/java.desktop/javax/swing/JComponent.html#setDefaultLocale(java.util.Locale)
doesn't mention anything about passing 'null' as a new default locale.
In fact for OpenJDK implementation passing 'null' restores the default VM's locale for newly created JComponents.
Attachments
Issue Links
- clones
-
JDK-8263472 Specification of JComponent::updateUI should document that the default implementation does nothing
-
- Resolved
-
- is cloned by
-
JDK-8264398 BevelBorderUIResource​(int, Color, Color) and BevelBoder(int, Color, Color) spec should clarify about usage of highlight and shadow color
-
- Resolved
-