-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
P4
-
Affects Version/s: 7
-
Component/s: client-libs
-
generic
-
generic
I was tracking how to get a ComponentUI in to the setSelectedUI() method and
I found these two cases of updateStyle() where its argument is not passed to
the getContext() call:
SynthInternalFrameTitlePane.java:
private void updateStyle(JComponent c) {
SynthContext context = getContext(this, ENABLED);
SynthListUI.java:
private void updateStyle(JComponent c) {
SynthContext context = getContext(list, ENABLED);
In all other updateStyle() methods the argument is passed to the getContext() call.
I found these two cases of updateStyle() where its argument is not passed to
the getContext() call:
SynthInternalFrameTitlePane.java:
private void updateStyle(JComponent c) {
SynthContext context = getContext(this, ENABLED);
SynthListUI.java:
private void updateStyle(JComponent c) {
SynthContext context = getContext(list, ENABLED);
In all other updateStyle() methods the argument is passed to the getContext() call.
- links to
-
Review
openjdk/jdk/11875