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

Spinner buttons should get enable/disable on reaching boundary condition

XMLWordPrintable

    • beta
    • generic
    • generic
    • Verified

        Spinner when using SpinnerNumberModel should enable/disable it up/down arrow buttons on reaching there maximum/minimum values.
        Run the attached test TestJSpinner.java
        - It displays a Spinner using SpinnerNumber model with min value of 0, maximum value of 10, and incremental unit is 1.
        - Now reach the minimum value of 0, now down arrow ideally should be disabled.
        - Similarly when reaching maximum value its up arrow should be disabled.

              apikalev Andrey Pikalev
              hsinghsunw Hemant Singh (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: