Search:

Type: Posts; User: Norm

Search: Search took 0.08 seconds.

  1. Replies
    12
    Views
    6,503

    [SOLVED] Re: Make JTextArea Support HTML

    Can you explain?
    For example, I created a file that started with non html text and imbedded in it some html. I opened the file in a browser and the browser displayed ....
  2. Replies
    12
    Views
    6,503

    [SOLVED] Re: Make JTextArea Support HTML

    What would a browser do when it reads that type of file?
  3. Replies
    12
    Views
    6,503

    [SOLVED] Re: Make JTextArea Support HTML

    What if you wanted to see the HTML text vs having it formatted?
  4. Replies
    12
    Views
    6,503

    [SOLVED] Re: Make JTextArea Support HTML

    After looking at the API doc for the JEditorPane for a bit I tried this:


    JEditorPane jep = new JEditorPane();
    jep.setContentType("text/html");
    jep.setText("<H1>an H1...
  5. Replies
    12
    Views
    6,503

    [SOLVED] Re: Make JTextArea Support HTML

    What have you found when you search for JEditorPane code examples?
Results 1 to 5 of 5