-
Enhancement
-
Resolution: Unresolved
-
P5
-
7
-
x86
-
linux
A DESCRIPTION OF THE REQUEST :
JSpinner should have methods to set up where the small arrows are displayed:
1. Arrows sticked together on right side and vertical alignment (like it currently does).
2. Arrows sticked together on right side and horizontal alignment (arrow buttons pointing left/right instead of bottom/up).
3. Same as 1. and 2. but arrows on left side of the component.
4. Arrows sticked together on bottom/top side and vertical/horizontal alignment (arrow buttons placed top/down instead of right/left).
5. Separate arrow button on left/right or bottom/up (one button on left side and the other on right side, or one button at top and the other at bottom).
JUSTIFICATION :
As swing user I miss spinners being able to be display different than standard. For example I could use a spinner for showing a set of options without using combo or lists and having a button on the left for previous message and a button on right for next message. JSpinner would be a richer component.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
See description.
ACTUAL -
Only arrow buttons sticked together and vertically aligned on right side of the spinner is displayed.
JSpinner should have methods to set up where the small arrows are displayed:
1. Arrows sticked together on right side and vertical alignment (like it currently does).
2. Arrows sticked together on right side and horizontal alignment (arrow buttons pointing left/right instead of bottom/up).
3. Same as 1. and 2. but arrows on left side of the component.
4. Arrows sticked together on bottom/top side and vertical/horizontal alignment (arrow buttons placed top/down instead of right/left).
5. Separate arrow button on left/right or bottom/up (one button on left side and the other on right side, or one button at top and the other at bottom).
JUSTIFICATION :
As swing user I miss spinners being able to be display different than standard. For example I could use a spinner for showing a set of options without using combo or lists and having a button on the left for previous message and a button on right for next message. JSpinner would be a richer component.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
See description.
ACTUAL -
Only arrow buttons sticked together and vertically aligned on right side of the spinner is displayed.