3 Replies Latest reply: Dec 31, 2003 9:43 AM by 807582 RSS

    Displaying a html doc

    807582
      Hello,
      I've got a JeditorPane in my gui and i downloaded an html file using sockets and streams. The HTMl file is constructed correctly so no errors there.
      But i want to display that file in the JEditorPane: my question is wich classes should i use to achieve this. I don't want the source, i want to display the html file graphically.
      I know you can do it directly by setPage() method by i had to use sockets, it's a networking project...
      The only thin I can come up with is this:
      jEditorPane1.setPage("tmp.html");
      I have no experience with parsing classes or editorkits so could you please give me something to start with...

      Thanks!