Proposed IntegerSpinner buggy behavior correction - JDK-8242553
fastegal at swingempire.de
Tue Apr 14 14:31:45 UTC 2020
thought the doc was simply bad (in specifying the behavior for
amountPerStep = 1 and not thinking of larger amounts) - my expection
is a calculated wrap, that is the target as you suggest via modulo the
difference from current value. Don't know if anybody took the doc
Zitat von Ajit Ghaisas <ajit.ghaisas at oracle.com>:
> Once I fix JDK-8193286, I would like to take up JDK-8242553
> (IntegerSpinner does not wrap around values correctly if
> amountToStepBy is larger than total numbers between Max and Min)
> The current implementation is not as per what is documented.
> Refer :
> I propose to fix the current buggy behavior of IntegerSpinner.
> Although it is a corner case, I would like to know if anybody
> relies on this buggy behavior?
More information about the openjfx-dev