diff --git a/sudokuExample/src/Main.java b/sudokuExample/src/Main.java index e02ffa2..07fdd00 100644 --- a/sudokuExample/src/Main.java +++ b/sudokuExample/src/Main.java @@ -26,7 +26,7 @@ public class Main { JFrame main = new JFrame(); main.setLayout(null); main.setVisible(true); - main.setBounds(300, 200, 500, 500); + main.setBounds(300, 200, 500, 600); main.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); JPanel rootPanel = new JPanel(); @@ -53,6 +53,12 @@ public class Main { newButton.setText("New"); rootPanel.add(newButton); + JButton retryButton = new JButton(); + retryButton.setVisible(true); + retryButton.setText("Retry"); + retryButton.setBounds(5, 525, 100, 25); + rootPanel.add(retryButton); + } }); }