Resets the program to its initial state.
()
| 46 | * Resets the program to its initial state. |
| 47 | */ |
| 48 | @Override |
| 49 | public void reset() { |
| 50 | frame.clearDrawables(); // removes drawables added by the user |
| 51 | control.setValue("xleft", 60); // sets default input values |
| 52 | control.setValue("ytop", 70); |
| 53 | control.setValue("width", 100); |
| 54 | control.setValue("height", 150); |
| 55 | } |
| 56 | |
| 57 | /** |
| 58 | * Starts the Java application. |
nothing calls this directly
no test coverage detected