Fixed resource location (did not work in jar)
authorChristian Femers <femers@in.tum.de>
Thu, 18 Jul 2019 19:18:31 +0000 (21:18 +0200)
committerChristian Femers <femers@in.tum.de>
Thu, 18 Jul 2019 19:18:31 +0000 (21:18 +0200)
net.mograsim.logic.model/src/net/mograsim/logic/model/serializing/IndirectGUIComponentCreator.java

index a7550b8..884e3ba 100644 (file)
@@ -25,7 +25,7 @@ public class IndirectGUIComponentCreator
 
        static
        {
-               try (InputStream s = IndirectGUIComponentCreator.class.getResourceAsStream("./standardComponentIDMapping.json"))
+               try (InputStream s = IndirectGUIComponentCreator.class.getResourceAsStream("standardComponentIDMapping.json"))
                {
                        if (s == null)
                                throw new IOException("Resource not found");