#Main Class cannot be run

1 messages · Page 1 of 1 (latest)

stray pathBOT
#

<@&987246399047479336> please have a look, thanks.

stray pathBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

glad ginkgo
#

You only have new GUI(); in your main method

low falcon
#

you spelled implements as implemets

#

import java.swt.event; wrong import

#

ActionListener hasn't been imported

#

missing } at the end of the file

#

you've defined class GUI twice

#

also button.addActionListener(this)); extra )

serene bobcat
#

thank you you heros ily

low falcon
#

use an IDE

serene bobcat
#

ill get one, thanks!! Im on very little sleep so I was having trouble seeing any of it