Exemplo n.º 1
0
 /** Resets the program to its initial state. */
 public void reset() {
   frame.clearDrawables(); // removes drawables added by the user
   control.setValue("xleft", 3); // sets default input values
   control.setValue("ytop", 3);
   control.setValue("width", 1.0);
   control.setValue("height", 1.5);
 }