Creating a swing GUI application, and when run through an exe file, it throws FileNotFound Exception.
How are you converting the app to a .exe? or do you mean you are packaging it in a jar file?
The path in my actual code is by using getClass().getResourceAsStream().
The file needs to be located on the classpath of the object's classloader. What file path are you passing into the method