Sorry, I don't write code for OPs.
Work on the problems one at a time.
A quick solution for the two methods is to comment them out and do them later.
That leaves the listener problem. Go back...
Type: Posts; User: Norm
Sorry, I don't write code for OPs.
Work on the problems one at a time.
A quick solution for the two methods is to comment them out and do them later.
That leaves the listener problem. Go back...
See post#4
Those look like the same errors the code had before
What did you change?
Why does the code call the setBackground method? What component's background does it what to change.
Board...
What does the code in the Board class want to happen when it calls the methods in question?
Where are those methods defined? How can the code in the Board class get access to the class object that...
You should not use those names for your methods. Sometimes when you want to override an extended class's methods then you must use the same name for your method.
When you call methods that are...
Read the tutorial in post #4 for how to write an action listener.
Where are the repaint() and setBackground() methods defined? The compiler can not find their definitions.
Hint: the class...
Post the code and the full text of the error messages.
The compiler is saying that Board is not an ActionListener.
Read the API doc for the Timer class to see what data types are required for its constructor.
See the tutorial on how to write an...
That looks like the syntax for a class's constructor. Is it in a class named: Star?
For the other errors, make sure the statements are inside of a method.
The code is not properly formatted...