Compare commits

..

No commits in common. "536f4e1b7dc8c89179163ec6b34d1c0f062e44d0" and "7eab9da31806e6b1eaa3a29de618849f70fb908c" have entirely different histories.

View file

@ -44,12 +44,6 @@ public class SudokuView extends JFrame {
for (int col = 0; col < 9; col++) {
grid[row][col] = new JTextField(2);
grid[row][col].setHorizontalAlignment(JTextField.CENTER);
// Set background color to gray for every third JTextField
if ((row / 3 + col / 3) % 2 == 1) {
grid[row][col].setBackground(Color.LIGHT_GRAY);
}
gridPanel.add(grid[row][col]);
}
}
@ -57,7 +51,6 @@ public class SudokuView extends JFrame {
add(gridPanel, BorderLayout.CENTER);
}
/** Initialize the buttons, called by the constructor */
private void initializeButtons() {
solveButton = new JButton("Solve");