Wilson Ford

Greenhorn
+ Follow
since Sep 27, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Wilson Ford

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 ^ ^