Link to home
Start Free TrialLog in
Avatar of Zolf
ZolfFlag for United Arab Emirates

asked on

refresh JSpinner

hello there,

i have this code in my constructor.i want to know how to refresh the jspinner.

cheers
zolf

SpinnerModel numbers=new SpinnerNumberModel(0,0,100,1);
discountSP=new JSpinner(numbers);

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of MicheleMarcon
MicheleMarcon
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
numbers.setValue( ... ) ;
Or get the value?


Integer value=discountSP.getValue();

Open in new window