From 3d6ee97eb12c311f74e2ed2b564d5e76c0bd9346 Mon Sep 17 00:00:00 2001 From: fdai7460 Date: Tue, 10 Jan 2023 17:24:18 +0100 Subject: [PATCH] DTSUD-50 builded Correct Button --- sudokuExample/src/Main.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sudokuExample/src/Main.java b/sudokuExample/src/Main.java index 07fdd00..2511b3d 100644 --- a/sudokuExample/src/Main.java +++ b/sudokuExample/src/Main.java @@ -59,6 +59,12 @@ public class Main { retryButton.setBounds(5, 525, 100, 25); rootPanel.add(retryButton); + JButton correctButton = new JButton(); + correctButton.setVisible(true); + correctButton.setText("Correct"); + correctButton.setBounds(395, 525, 100, 25); + rootPanel.add(correctButton); + } }); }