From a6a9412cbc41e26fbf9b80ff45c8ec1de6941df1 Mon Sep 17 00:00:00 2001 From: iminto <> Date: Wed, 18 Sep 2019 15:48:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E7=AA=97=E5=8F=A3=E6=9C=80?= =?UTF-8?q?=E5=A4=A7=E5=8C=96=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/tony/AboutFrame.java | 1 + src/main/java/tony/HiJFrame.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/tony/AboutFrame.java b/src/main/java/tony/AboutFrame.java index b961e48..0d471f8 100644 --- a/src/main/java/tony/AboutFrame.java +++ b/src/main/java/tony/AboutFrame.java @@ -13,6 +13,7 @@ public AboutFrame() { URL imUrl = getClass().getResource("/icon.png"); ImageIcon icon = new ImageIcon(imUrl); setIconImage(icon.getImage()); + setResizable(false); } @SuppressWarnings("unchecked") // //GEN-BEGIN:initComponents diff --git a/src/main/java/tony/HiJFrame.java b/src/main/java/tony/HiJFrame.java index 3cfe1c0..04cccd9 100644 --- a/src/main/java/tony/HiJFrame.java +++ b/src/main/java/tony/HiJFrame.java @@ -23,6 +23,7 @@ public HiJFrame() { URL imUrl = getClass().getResource("/icon.png"); icon = new ImageIcon(imUrl); setIconImage(icon.getImage()); + setResizable(false); } @SuppressWarnings("unchecked")