From 684e01bb190c7d0b95347b732aeb3cdeda4740d7 Mon Sep 17 00:00:00 2001 From: abranson Date: Tue, 18 Oct 2011 17:00:33 +0200 Subject: Module support --- source/com/c2kernel/gui/LoginBox.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/com/c2kernel/gui/LoginBox.java') diff --git a/source/com/c2kernel/gui/LoginBox.java b/source/com/c2kernel/gui/LoginBox.java index 415469b..aee469f 100644 --- a/source/com/c2kernel/gui/LoginBox.java +++ b/source/com/c2kernel/gui/LoginBox.java @@ -47,8 +47,8 @@ import com.c2kernel.utils.Resource; */ public class LoginBox extends JFrame { - private int xMov; - private int yMov; + private final int xMov; + private final int yMov; public String errorMessage=new String(""); private int maxNumberLogon; public boolean action = false; @@ -72,7 +72,7 @@ public class LoginBox extends JFrame { javax.swing.ImageIcon imageHolder,MainFrame mainFrame) { String iconFile = Gateway.getProperty("AppIcon"); if (iconFile != null) - this.setIconImage(Resource.getImageResource(iconFile).getImage()); + this.setIconImage(Resource.findImage(iconFile).getImage()); this.errorLabel.setText(bottomMessage); if (errorMessage.compareTo("")!=0) this.errorLabel.setText(errorMessage); mainFrameFather=mainFrame; -- cgit v1.2.3