private void paintPuzzle(Graphics g) {
    	
		g.setColor(Color.DARK_GRAY);
		g.fillRect(0, 0, 1000, 1000);
		
		if (menu != null) {

	    	g.setFont(new Font(Font.MONOSPACED, Font.PLAIN, 20));
			g.setColor(Color.WHITE);

			int yPos = 150;
			int xPos = 80;
			for (String curString : getMenuTitle()) {
		        g.drawString( curString, xPos, yPos);
		        yPos += 20;
			}
			
	    	g.setFont(new Font(Font.MONOSPACED, Font.PLAIN, 40));
	    	yPos += 150;
			xPos += 10;
			for (String curString : menu) {
		        g.drawString( curString, xPos, yPos);
		        yPos += 50;
			}
		} else {
			
			if (pieces != null) {

				for(Piece nextPiece : pieces) {
					drawPiece(nextPiece, g);
				}
			}
			
			if (playBoard != null) {

				for (int i = 0; i < 8; i++) {
					for (int j = 0; j < 8; j++) {
						if (!playBoard[i][j]) {
							drawSpace(i, j, g);
						}
					}
				}
			}
		}
	}