From 0227cd79e028f6e062e94654794446541efb3c0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E4=BD=B3=E5=AA=9B?= <2487706653@qq.com> Date: Wed, 9 Oct 2024 23:37:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BE=9A=E5=BF=83=E6=80=A1=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=BB=93=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Calculator.java | 1 - 1 file changed, 1 deletion(-) diff --git a/Calculator.java b/Calculator.java index 0fb62b1..9637d99 100644 --- a/Calculator.java +++ b/Calculator.java @@ -35,7 +35,6 @@ public class Calculator extends JFrame implements ActionListener { button.setBackground(Color.WHITE); panel.add(button); } - add(display, BorderLayout.NORTH); add(panel, BorderLayout.CENTER);