Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P3
-
Resolution: Fixed
-
Affects Version/s: 7, 8, 9
-
Fix Version/s: 9
-
Component/s: client-libs
-
Subcomponent:
-
Introduced In Version:
-
Resolved In Build:b06
-
CPU:generic
-
OS:generic
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8256744 | openjdk8u282 | Alexandr Scherbatiy | P3 | Resolved | Fixed | b03 |
Description
See attached Test.java:
There are 3 JSpinners with SpinnerNumberModel, SpinnerListModel and SpinnerDateModel
1. run test (componentOrientation set to ComponentOrientation.RIGHT_TO_LEFT)
Actual behaviour: text for SpinnerDateModel and SpinnerListModel is left aligned
Expected behaviour: text in all JSpinners is RIGHT aligned
2. Change test: replace ComponentOrientation.RIGHT_TO_LEFT to ComponentOrientation.LEFT_TO_RIGHT and run again
Actual behaviour: same as in first case
Expected behaviour: text in all JSpinners is LEFT aligned
the issue repoduced on Windows, Linux and Mac platforms: failed with jdk 7 since fcs and passed with jdk6u41b01
see comments for more details
There are 3 JSpinners with SpinnerNumberModel, SpinnerListModel and SpinnerDateModel
1. run test (componentOrientation set to ComponentOrientation.RIGHT_TO_LEFT)
Actual behaviour: text for SpinnerDateModel and SpinnerListModel is left aligned
Expected behaviour: text in all JSpinners is RIGHT aligned
2. Change test: replace ComponentOrientation.RIGHT_TO_LEFT to ComponentOrientation.LEFT_TO_RIGHT and run again
Actual behaviour: same as in first case
Expected behaviour: text in all JSpinners is LEFT aligned
the issue repoduced on Windows, Linux and Mac platforms: failed with jdk 7 since fcs and passed with jdk6u41b01
see comments for more details
Attachments
Issue Links
- backported by
-
JDK-8256744 JSpinner setComponentOrientation doesn't affect on text orientation
-
- Resolved
-