Search:

Type: Posts; User: snowguy13

Search: Search took 0.09 seconds.

  1. Thread: JPanel

    by snowguy13
    Replies
    25
    Views
    3,606

    Re: JPanel

    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...
  2. Thread: JPanel

    by snowguy13
    Replies
    25
    Views
    3,606

    Re: JPanel

    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?
  3. Thread: JPanel

    by snowguy13
    Replies
    25
    Views
    3,606

    Re: JPanel

    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...
  4. Thread: JPanel

    by snowguy13
    Replies
    25
    Views
    3,606

    Re: JPanel

    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?
Results 1 to 4 of 4