summaryrefslogtreecommitdiff
path: root/src/main/java/com/c2kernel/gui/LoginBox.java
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2014-09-15 12:27:51 +0200
committerAndrew Branson <andrew.branson@cern.ch>2014-09-15 12:27:51 +0200
commit8f64e9ebaf48e73e50473782f5696a053a76f114 (patch)
treea73d278a23fabf6fd2643de0904b7ddfb02aae2e /src/main/java/com/c2kernel/gui/LoginBox.java
parent8e5d28aec9368c29acec858e9d748ed2ed5eb397 (diff)
Prefer using ObjectProperties getString and getInstance where possible.
Diffstat (limited to 'src/main/java/com/c2kernel/gui/LoginBox.java')
-rw-r--r--src/main/java/com/c2kernel/gui/LoginBox.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/c2kernel/gui/LoginBox.java b/src/main/java/com/c2kernel/gui/LoginBox.java
index cae89ab..14c63e9 100644
--- a/src/main/java/com/c2kernel/gui/LoginBox.java
+++ b/src/main/java/com/c2kernel/gui/LoginBox.java
@@ -68,7 +68,7 @@ public class LoginBox extends JFrame {
public LoginBox(int attempt,String title,String lastUser,String bottomMessage,
javax.swing.ImageIcon imageHolder,MainFrame mainFrame) {
- String iconFile = Gateway.getProperties().getProperty("AppIcon");
+ String iconFile = Gateway.getProperties().getString("AppIcon");
if (iconFile != null)
this.setIconImage(ImageLoader.findImage(iconFile).getImage());
this.errorLabel.setText(bottomMessage);