import java.awt.Container; import javax.swing.JFrame; public class Sudoku extends JFrame { public static void main(String[] args) { // *** YOUR CODE HERE // You must create a "LoadSudokuGame" object and call its readGameInfo method // This method will return a boolean value to indicate whether the puzzle and // solution files were correctly loaded. If either file is not loaded correctly, // you must continually ask the user to enter the file names until successful. // *** YOUR CODE HERE // *** YOUR CODE HERE // *** YOUR CODE HERE // The following creates the main window frame for the game and sets the title. JFrame f = new Sudoku(); f.setTitle("Sudoku"); // The following code finds the main pane of the frame and adds // the Suduko game board to it. Container contentPane = f.getContentPane(); contentPane.add(new SudokuGameGUI()); // You can ignore the following method calls for now. They are needed to display the window frame correctly. // The pack method sizes the frame so that all its contents are at or above their preferred sizes. // Calling setVisible(true) makes the frame appear onscreen. f.pack(); f.setVisible(true); } }