here's the code that I have and for some reason the dateEditor isn't working.
Date today2 = new Date();
GregorianCalendar defaultDate = new GregorianCalendar(1, 1, 2000);
hiredDate = new JSpinner(new SpinnerDateModel(defaultDate.getTime(), null, today2, Calendar.MONTH));
JSpinner.DateEditor editor2 = new JSpinner.DateEditor(hiredDate, "EEE, MMM dd, yyyy");
It's not printing out right in the JSpinner. Thanks in advanced.
I'm no swing or jspinner expert, but it seems perhaps presumptuous to assume that just adding the component (editor2) to the jspinner will change the spinner's editor. Have you looked at the JSpinner API before posting here? I bet it'll tell you how to change the spinner's editor, and that the way you tried isn't it.