public void createWindowComponents(final Container con)
	{
		chessboardPanel = new JPanel();
		chessboardPanel.setLayout(new GridLayout(8,8));
		
		Color a = Color.LIGHT_GRAY;
		Color b = Color.DARK_GRAY;
		
		for(int i = 0; i < BOARD_LENGTH; i++)
		{
			for(int j = 0; j < BOARD_WIDTH; j++)
			{		
				buttonBoard[i][j] = new JButton();
				buttonBoard[i][j].addActionListener(new ButtonListener(this, i, j));
				
				if((i%2 == 0) && (j%2 == 1))
				{
					chessboardPanel.add(buttonBoard[i][j]).setBackground(a);
				}
				else if((i%2 == 1) && (j%2 == 0))
				{
					chessboardPanel.add(buttonBoard[i][j]).setBackground(a);
				}
				else
				{
					chessboardPanel.add(buttonBoard[i][j]).setBackground(b);
				}
			}
		}
		con.add(chessboardPanel);
	}