JSpinner (Time) in JTable
问题 I am trying to implement an JSpinner for time in to a JTable , it worked preaty goot at the first look but after losing the focus of the cell the edited cell is being set to "Thu Jan 01 +time+ UTC 1970" the time is being set correctly. How can I remove the Date from the Time ? here is my hole SpinnerEditor.class , have added some comments. Code : public SpinnerEditor(String timeFormat) { super(new JTextField()); // Default Time I want to Display (1 Hour) Time date = new Time(3600000);