Home arrow static arrow Java Programming [Archive] - JEditorPane getting resources from a Jar
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - JEditorPane getting resources from a Jar
10 Duke Stars available
This topic has 1 reply on 1 page.

Posts:1
Registered: 6/9/03
JEditorPane getting resources from a Jar  
Jun 25, 2004 9:21 AM



 
My application is in a jar file. Part of it requires an html file which shows an animated gif to be added and displayed on a JEditorPane.

The problem.... like I mentioned is that it's all in a jar file. So I need to 1) access the html file in the jar file and then 2) within the html file point to the image within the jar file.

The non-jar coding is was the easy part. Simply create a URL to the html file and then point the html file to the image. So how can I do this from within a jar?
 

Posts:376
Registered: 3/13/01
Re: JEditorPane getting resources from a Jar  
Jun 25, 2004 9:25 AM (reply 1 of 1)



 
Hi

Please rephrase your question

Thanks
Swaraj
 
This topic has 1 reply on 1 page.