Yes, I didn't mean to say otherwise. What I meant to say is that if he wants to refer to those objects later, he has to use multiple instances of SingleBoard that are defined individually and outside...
Type: Posts; User: snowguy13
Yes, I didn't mean to say otherwise. What I meant to say is that if he wants to refer to those objects later, he has to use multiple instances of SingleBoard that are defined individually and outside...
Wait where is the GameBoard class coming from? I didn't see it before... Are you still encountering the same problem or is this a new one?
Here's the issue: you add the same JPanel to three different spots. Since you only use one variable, you can only access one of the panels (the last one) because the last panel is the last one you...
Do you mean how can you get to the values of the array being returned? If so, think about this: how do you access values in any other array?