Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

JEditorpane with HTML and gif all inside a jar file

  Asked By: Kevin    Date: Apr 01    Category: Java    Views: 1068
  

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?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on JEditorpane with HTML and gif all inside a jar file Or get search suggestion and latest updates.




Tagged: