From 2dd7ddb52ce5cb8f4de03bf3d3abed2a5238e777 Mon Sep 17 00:00:00 2001 From: juhaoyu <2335173323@qq.com> Date: Wed, 24 May 2017 16:42:13 +0800 Subject: [PATCH] =?UTF-8?q?=C2=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/com/fr/design/dialog/InformationWarnPane.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/designer_base/src/com/fr/design/dialog/InformationWarnPane.java b/designer_base/src/com/fr/design/dialog/InformationWarnPane.java index c6282ca67..e5dd4fd9f 100644 --- a/designer_base/src/com/fr/design/dialog/InformationWarnPane.java +++ b/designer_base/src/com/fr/design/dialog/InformationWarnPane.java @@ -25,7 +25,6 @@ import com.fr.design.gui.itextarea.UITextArea; import com.fr.design.layout.FRGUIPaneFactory; import com.fr.general.Inter; import com.fr.design.utils.gui.GUICoreUtils; -import com.fr.stable.resource.ResourceLoader; public class InformationWarnPane extends JPanel{ private UITextArea moreText; @@ -43,7 +42,7 @@ public class InformationWarnPane extends JPanel{ this.title = title; this.setLayout(null); this.setBounds(5,5,410,130); - UILabel image = new UILabel(new ImageIcon(ResourceLoader.getResource("/com/fr/design/images/buttonicon/warn.png", getClass()))); + UILabel image = new UILabel(new ImageIcon(getClass().getResource("/com/fr/design/images/buttonicon/warn.png"))); image.setBounds(10, 25, 80, 80); UITextArea warnLabel = new UITextArea(infor); warnLabel.setLineWrap(true);