Hi,
I am facing a problem w.r.t JSpinner..
I need to populate the spinner with double values and then based on a boolean value need to show the double value as either with a dot seperating the decimals or with a dash.
Here is an example::
assume the boolean value controlling :: isDash
input value is 1.56
if(isDash){
setSpinner with value as 1-56
}else{
setSpinner with value as 1.56
}
The problem is that inside the spinner is a JFormattedTextField and it resets any formatting changes done from the code ...
Somebody please help me regarding this...
Also if anybody has the source code for
PointSpinner, please do share it...