I have a java swing app and I want it so that when I run my program (from terminal) and it loads the app the icon will be different other than the default.
But my program keeps failing to find the correct path with bs like Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "java.net.URL.toString()" because "url" is null even with absolute path & relative path that I think is correct (as I have printed the classpath out)