Hi Lionel,
thanks again for your answer. In my case it's also acceptable when the user enters a alpha-numerical value, which is not correct but as my
SCJD assignment says:
The system you are writing does not interact with these numbers, rather it simply records them.
So the user is responsible to input the right number.
But beside of my
SCJD assignment and if it's not too much :roll: please send a solution how you would replace my code snippet with JSpinner.
Regards,
Darya