public void reset() {
   if (editor.getValue() != null) {
     field.setText((String) editor.getValue());
   }
 }
 public void setValue(Object o) {
   field.setText((String) o);
 }