Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6782036

JSpiner with arrow buttons on any side

XMLWordPrintable

      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.

            Unassigned Unassigned
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: