Display alert message when nothing is selected in jspinner in java?
posted 3 years ago
I have a jspinner in java program and
i want to display a message when nothing is selected. before going to the next window.
so My initial value is 0 min value = 0 max value = 200 (configured in Netbeans).
so when the application is running it displays the jspinner with the initial value = 0
what i want is if the user did not select the jspinner an alert message should appears.
This is what i tried:
could someone help me please, i'm new here and beginner in java.