public class TurtleRunner
extends java.lang.Object
TurtleRunner contains a public static void main() entry point and is
able to create an instance of another class (by Java reflection), so that its
default contructor is invoked. Mainly used to avoid the ugly public static void main()
method in beginner's programs. The class name can be provided in three ways:
- as parameter of the main() method
- as an entry with key MainClass in a mainclass.properties file (located in the root of the application jar)
- all classes in the class path that implement the TurtleProgram interface (if
more than one class is found, a selection box is displayed).