nate wrote:
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
code: |
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...