Looks much cleaner,
perhaps 2d arrays was just to new of a concept for you,
you should try to make a simple 2d array program now so next time you can use them as you like :D
Type: Posts; User: JonLane
Looks much cleaner,
perhaps 2d arrays was just to new of a concept for you,
you should try to make a simple 2d array program now so next time you can use them as you like :D
I literally wrote your method for you, with one small //TODO.
Reread post 6, or check out mesatrin1's code.
Once it is clear you have done that, I can offer further help, but it seems you are...
I assume the end product you want to be a 2d array. The current method structure will work for a 1d array.
but getting to your new code,
when you call: myTiles[i][j].setColors();
you are using...
I don't know much about GUI but I think I see a problem.
public void setColors() {
your code goes through 256 for loops, so that increments desirably however,
each time placing it over the...
Places to look, Creating tiles, Inserting tiles, displaying tiles.
Here is a few ways to check,
Write a quick method that just returns the name of the color that tile is.
When you create a tile,...