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
Type: Posts; User: DavidFongs
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
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...