Resets the program to its initial state.
()
| 33 | * Resets the program to its initial state. |
| 34 | */ |
| 35 | @Override |
| 36 | public void reset() { |
| 37 | control.setValue("x value", 10.0); // describes parameter and sets its value |
| 38 | } |
| 39 | |
| 40 | public void myFunction() { |
| 41 | System.out.println("Button pressed."); // for debugging |