Hey Incase this is still relevant, I believe I understand why you're having that problem, you don't have a
"public static void main(String[] args) " line in your coding.
My class instead used a constructor "public driver" instead of the above mains arguement;
"public class driver {
private DrawingGizmo pencil;
public driver() {"
I wrote a third programme to run my class, the name of the class is run, see below;
"public class run {
public static void main(String[] args) {
driver driver = new driver();
}
}"
So now I click on that class, then select run, and run as application ^ ^, took me over an hour to figure that out.
Ciao ^ ^