Menu

How to render XHTML on a BrowerPane

Laifs
2013-11-17
2013-11-18
  • Laifs

    Laifs - 2013-11-17

    Hello,
    I was testing the BrowserPane to display some random page. However, I cannot get it to display anything other than plain text.

    ie:
    pane = new BrowserPane();
    URL url = new URL("http://cssbox.sourceforge.net/documentation.php");
    pane.setPage(url);
    scrollPane.setViewportView(pane);

    This shows plain text. I copied the example SwingBox browser and cannot get that working either (I get only plain text). Am I missing something?

     
  • Radek Burget

    Radek Burget - 2013-11-18

    Hello,
    does the SwingBrowser demo itself work for you? Does SwingBox print something to stdout? And what plain text does it contain? Only the text of the page or even the HTML tags?

     

    Last edit: Radek Burget 2013-11-18

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.