Hi my friends,
I have line:
URL urlIcon = this.getClass().getResource("../../images/icons/logo.png");
Im now getting an error with path after building my project.
Before building, means run in IDE, it works fine. Because the path above is
made relatively with the project folder (I named my project as FileSearcher
and the folder images was in src).
But, after I builded, I run file .jar in folder "dist" which just created by
IDE (I use Netbeans). Then I got error with the path above, because the path
became wrongly. The path was now getting by the "dist" directory and there
is no folder "images" (it's in .jar file).
So, how to solve this error ?
Thanks !
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en