DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  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
    eschew obfuscation

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links