diff --git a/src/main/java/ui/util/IconManager.java b/src/main/java/ui/util/IconManager.java
index 77134d062b750f109807c5051da72c2dd2ba0603..b15b9490b95b83f888d4262ccf6b5d15d0c20a9e 100755
--- a/src/main/java/ui/util/IconManager.java
+++ b/src/main/java/ui/util/IconManager.java
@@ -658,8 +658,8 @@ public class IconManager {
 
     }
 
-    public ImageIcon getIcon(String s) {
-        URL url = this.getClass().getResource(s);
+    public static ImageIcon getIcon(String s) {
+        URL url = IconManager.class.getResource(s);
 
         if (url != null) {
             return new ImageIcon(url);
@@ -680,7 +680,7 @@ public class IconManager {
         }
     }
 
-    public void loadImg() {
+    public static void loadImg() {
         imgic8 = getIcon(icon8);
         imgic9 = getIcon(icon9);
         if (imgic8 != null) {
diff --git a/ttool/src/main/java/Main.java b/ttool/src/main/java/Main.java
index 25ce697c95c8bd57f175544dfca16985221530a7..c1eba3d54158cce1ea2e2e9760a23733790d87cd 100755
--- a/ttool/src/main/java/Main.java
+++ b/ttool/src/main/java/Main.java
@@ -242,8 +242,7 @@ public class Main implements ActionListener {
         if (splashFrame != null) {
             splashFrame.setMessage("Loading images");
         }
-        IconManager icma = new IconManager();
-        icma.loadImg();
+        IconManager.loadImg();
 
         // Loading configuration
         if (splashFrame != null) {
diff --git a/ttool/src/test/java/ui/AbstractUITest.java b/ttool/src/test/java/ui/AbstractUITest.java
index 3d64e22481472acbe2d2242f73c25269d10bc15e..6c5356c5d3734461712bd1284f0d7d60c4604e97 100644
--- a/ttool/src/test/java/ui/AbstractUITest.java
+++ b/ttool/src/test/java/ui/AbstractUITest.java
@@ -4,12 +4,14 @@ import static org.junit.Assert.fail;
 
 import myutil.PluginManager;
 import test.AbstractTest;
+import ui.util.IconManager;
 
 public abstract class AbstractUITest extends AbstractTest {
 	
 	protected final MainGUI mainGui;
 	
 	protected AbstractUITest() {
+		IconManager.loadImg();
 		mainGui = new MainGUI(false, false, false, false, false, false, false, false, false, true, false, false);
 		mainGui.build();
 		PluginManager.pluginManager = new PluginManager();