
-----------------------------------
nate
Mon Dec 20, 2004 10:32 pm

Darts
-----------------------------------
A simple dart game using GUI. Anyways, its a 2 player game but its fairly simple and way 2 easy. If you want the source just ask.  Just a note, when you want to change the delay in the text field you have 2 press ("New Game/Delay") to make work. Anyways here you go...

-----------------------------------
Hikaru79
Mon Dec 20, 2004 11:39 pm

Re: Darts
-----------------------------------
A simple dart game using GUI. Anyways, its a 2 player game but its fairly simple and way 2 easy. If you want the source just ask.  Just a note, when you want to change the delay in the text field you have 2 press ("New Game/Delay") to make work. Anyways here you go...

Ah, but you've already given us the source... it's .java ;) However, I don't think you gave us all of it -- there's no 'main' method in this. My compiler gave me 


adrian@ubuntu:~/Desktop $ java darts.Darts
Exception in thread "main" java.lang.NoSuchMethodError: main


(I added the package line by myself, btw). And when I checked the code in Eclipse, there is indeed no main...

-----------------------------------
nate
Sat Jan 01, 2005 6:15 pm


-----------------------------------
Theres no main method cause its sapposed 2 be an applet. If you run it in Ready to Program it works fine for me.?????????
