Right now I have a jFrame Spinner that just has numbers. I am storing the value of the spinner like this
int value = (Integer) jSpinner1.getValue();
And am then outputting it to a jLabel like this
jLabel5.setText("Counter = " + value );
I was wondering if there is a way to update the jLabel every time the number is changed on the spinner?