// at the top of the table.
final int[][] positions = { { 2, 3, 0, 1 }, { 3, 0, 1, 2 },
{ 0, 1, 2, 3 }, { 1, 2, 3, 0 } };
for (int j = 0; j < 4; j++) {
tableau[j] = new Card();
tableau[j].setCard(null);
tableau[j].setForeground(fgColor);
tableau[j].setBackground(tableColor);
tableau[j].repaint();
}