public void setFrameTo(int to) {
   toFrameField.setValue(to);
 }
 public int getFrameTo() {
   return (int) toFrameField.getValue();
 }
 public void setFrameFrom(int from) {
   fromFrameField.setValue(from);
 }
 public int getFrameFrom() {
   return (int) fromFrameField.getValue();
 }