I'm guessing in my panel class I am going to have to have something like:
private static final int ROWS = 6;
private static final int COLS = 6;
private static final int SQUARE_SIZE = 50; //50 pixels per square - 36 in total
And then to create board size i could have:
private static final int WIDTH = COLS*SQUARE_SIZE;
private static final int HEIGHT = ROWS*SQUARE_SIZE;
would i be on the right track with this?