init(new SimpleDateFormat());
DateEditorFormatter nef = new DateEditorFormatter(); nef.setMinimum(getModel().getStart()); nef.setMaximum(getModel().getEnd()); ftf.setFormatterFactory(new DefaultFormatterFactory(nef));
    public DateEditor(JSpinner spinner)    {      super(spinner);      init(new SimpleDateFormat());    }