title: Embed HTML file in Java
body: <p>I am trying to put an offline Openstreetmap map into my Java Application. I have found an example here: <a href="http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/Swing-Tutorial-JEditorPane.html" rel="nofollow">http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/Swing-Tutorial-JEditorPane.html</a> </p>
  
  <p>However when I tried to change the URL in the program to the file that is in my computer, it did not work. The HTML page that I am trying to display has JavaScript and I think this is why it will not appear. (I tried displaying a different HTML which was more simple and only had an image to display and it worked.)</p>
  
  <p>Is there a way to embed an HTML file in a Java Application that supports JavaScript? Or is something else preventing the application from displaying my HTML file?</p>
  
  <p>edit:
  I am trying to embed an HTML file with an OpenLayers Javascript. I have come across the Lobo Browser, it seems like what I am looking for. However when I try to visit a site in the browser, it only show's me a blank page. I am sure that my Java is updated. Has anyone had experience with the Lobo Browser and have an idea as to why it is not working for me?</p>