From 66535732c4d3ac77fdfad455fe83da77044872d8 Mon Sep 17 00:00:00 2001 From: fdai7460 Date: Mon, 9 Jan 2023 11:02:44 +0100 Subject: [PATCH] DTSUD-45 builded New Button --- sudokuExample/src/Main.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sudokuExample/src/Main.java b/sudokuExample/src/Main.java index def66b0..7efb163 100644 --- a/sudokuExample/src/Main.java +++ b/sudokuExample/src/Main.java @@ -33,6 +33,11 @@ public class Main { rootPanel.add(back); back.setText("Back"); + JButton newButton = new JButton(); + newButton.setVisible(true); + newButton.setBounds(395, 5, 100, 25); + newButton.setText("New"); + rootPanel.add(newButton); } }); }