JSpinner as a JTable Cell editor
I have a Spinner with a Spinner date Model.
it is the cell editor for a few columns on a Table.
the Spinner is a custom Spinner
this.setEditor(new Spinner(this,"MM/dd/yyyy"));
i have used the above code to set a new editor, If i am correnct
the above code should create a cus`tom editor with the given pattern.
if i am wrong please let me know .
assuming that is correnct.
another question is once the focus is out of a cell which was edited
the display of the data changes . when the usere double clicks onthe cell and the editor shows up the data returns to the correct format.
what do i have to do to retain the format once focus is out of a previously edited cell
any help is appreciated
thanks