Load picture in app from local folder
<p>I have inside  my app folder : images folder with images inside  and I have .jar file which I run. I need to load pictures from images folder. I have method which load pictures from URL, I tried  with</p>

<pre><code>String path=System.getProperty("user.dir")+File.separatorChar+"images"+File.separatorChar+"first.jpg";
try{
URL url=new URL(path);
}
catch(Exception exc){
}
</code></pre>

<p>but I get error java.net.MalformedURLException: no protocol: /home/images/first.jpg.
What to add like prefix, or is there some better way to load with URL images ?</p>
