Although not obvious, the error is telling you the type used to set the JSpinner
and the String
read in from the database are incompatible. SpinnerDateModel
uses a Date
as the underlying object type
Try
SimpleDateFormat format = new SimpleDateFormat("HH:mm");
arr_time.setValue(format.parseObject(rs.getString(2))); // e.g. input 16:45