Results 1 to 3 of 3
  1. #1
    mary is offline Member
    Join Date
    Jul 2007
    Posts
    51
    Rep Power
    0

    Default how to show a html document on JTextPane

    is there any method to do this?
    can you help me?

  2. #2
    palindrome is offline Member
    Join Date
    Aug 2007
    Posts
    6
    Rep Power
    0

    Default

    JTextPane extends JEditorPane. There are methods in there: JEditorPane

    e.g.
    setContentType("text/html");
    setPage(...);

  3. #3
    mary is offline Member
    Join Date
    Jul 2007
    Posts
    51
    Rep Power
    0

Similar Threads

  1. netbeans 6.0 not show commpunent or show blank page
    By fahimaamir in forum NetBeans
    Replies: 1
    Last Post: 01-26-2008, 07:20 AM
  2. how to load a html document
    By boy22 in forum Java Servlet
    Replies: 1
    Last Post: 08-05-2007, 05:12 AM
  3. how to insert tables into JTextPane
    By osval in forum AWT / Swing
    Replies: 1
    Last Post: 07-29-2007, 10:11 AM
  4. add a xml document
    By Jack in forum XML
    Replies: 2
    Last Post: 07-04-2007, 10:21 AM
  5. Transparent JTextPane
    By Ada in forum AWT / Swing
    Replies: 1
    Last Post: 05-31-2007, 10:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •