Search:

Type: Posts; User: DavidFongs

Search: Search took 0.17 seconds.

  1. Replies
    10
    Views
    5,376

    Re: java grid and colors/graphics

    you need to change grid = new color[width][length] so that it is creating a 2d array of JButtons. Right now it is trying to create a 2d array of colors
  2. Replies
    10
    Views
    5,376

    Re: java grid and colors/graphics

    Grid is a 2D array of JButtons. You assigning a 2D array of color objects to it. This will cause a compiler error.

    You import Color and color. I'm pretty sure you want to use Color (you are...
Results 1 to 2 of 2