Yeah I've read about 11 chapters in my Big Java book and Chapter 10 was all about this. I just don't understand what is going wrong when applying this class to the array and why it won't find that...
Type: Posts; User: Edmacelroy
Yeah I've read about 11 chapters in my Big Java book and Chapter 10 was all about this. I just don't understand what is going wrong when applying this class to the array and why it won't find that...
It's supposed to be an inner class within the main method here is the code for it
class ClickListener implements ActionListener
{
public void actionPerformed(ActionEvent event) ...
Thanks for the quick response, I thought that would be the case just wasn't sure. So loop through each JButton in the array and add the ActionListener to them. This is what I did and I'm getting...
Here is my code. It's for a tic tac toe program and i'm trying to get my Listener to work so it knows what to display but it's throwing me an error.
Code first here it is:
import...