bug fix relating to file picker.

This commit is contained in:
Josh Ashton
2024-03-21 15:14:45 -06:00
parent 74346a761c
commit 3477cc53ed
11 changed files with 170 additions and 18 deletions
+38
View File
@@ -0,0 +1,38 @@
package gui;
import javax.swing.JPanel;
import gui.backend.Settings;
/**
* The Board class represents the Sudoku board in the GUI.
*
* It contains all other related GUI components, and is the main JPanel for
* the board. Accessible information from the Board includes:
* - the current state of the board, including filled values and notes;
* - the current difficulty;
* - the current time since the puzzle was started;
* - the current hints available; and
* - the current number of mistakes.
*/
public class Board extends JPanel {
private Settings s;
/**
* Create a new Board object with the default styling from settings.
*
* @param s
*/
public Board(Settings s) {
super();
this.s = s;
style();
}
/**
* Set up the Board Panel with the appropriate styling.
*/
private void style() {
// TODO: Style the Board Panel.
}
}