-
Bug
-
Resolution: Fixed
-
P3
-
10, 11
-
b20
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8206839 | 12 | Sergey Bylokhov | P3 | Resolved | Fixed | team |
JDK-8206616 | 11.0.1 | Sergey Bylokhov | P3 | Resolved | Fixed | b01 |
JSpinner may have a text editor inside. The preferred size of JSPinner depends from this editor, which also depends from the font. Look like a have a bug when we calculate the size of the JSPinner using default font of editor and only after that we change the font of the editor to the font of spinner.
To reproduce this bug run this test:
http://cr.openjdk.java.net/~serb/8201552/webrev.01/test/jdk/javax/swing/GraphicsConfigNotifier/StalePreferredSize.java.html
See this line;
//TODO () -> new JSpinner(new SpinnerListModel(new String[]{HTML})),
To reproduce this bug run this test:
http://cr.openjdk.java.net/~serb/8201552/webrev.01/test/jdk/javax/swing/GraphicsConfigNotifier/StalePreferredSize.java.html
See this line;
//TODO () -> new JSpinner(new SpinnerListModel(new String[]{HTML})),
- backported by
-
JDK-8206616 JSpinner may change the font after became visible
-
- Resolved
-
-
JDK-8206839 JSpinner may change the font after became visible
-
- Resolved
-
- links to