How to load html page ?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How to load html page ?

  1. #1
    Join Date
    May 2005
    Posts
    1

    Question How to load html page ?

    Good day,

    I have created a swing application.I have used splitpane.
    In left panel I have tree structure & at right side I have to load html page after clicking on Tree node.How do I load html page ?
    I have already tried using JtextPane & appletcontext(showDocument).

    Problem with Jtextpane : I can show but I can not work with the html page for e.g if html page have any link within that,then it cannot work.

    Problem with appletcontext : I have to open html page from browser onle it is not working with appletviewer.I am not able to include that in my above application.

  2. #2
    Join Date
    Nov 2004
    Location
    Norway
    Posts
    1,560

    Use JEditorPane

    Here is a very basic HTML editor, it should give you the general idea.
    Attached Files Attached Files
    eschew obfuscation

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center