Search:

Type: Posts; User: bgroenks96

Search: Search took 0.10 seconds.

  1. Replies
    12
    Views
    6,500

    [SOLVED] Re: Make JTextArea Support HTML

    Placing a html text in a standard text file didn't work for me when I viewed it in a web browser. It simply showed the html code in the text file.

    I did, however, get the JEditorPane to work with...
  2. Replies
    12
    Views
    6,500

    [SOLVED] Re: Make JTextArea Support HTML

    It didn't work. I suppose the document has to be HTML then?
  3. Replies
    12
    Views
    6,500

    [SOLVED] Re: Make JTextArea Support HTML

    Read it as a webpage? Or a URL?

    Or did you want me to try it? I will try it....
  4. Replies
    12
    Views
    6,500

    [SOLVED] Re: Make JTextArea Support HTML

    No I was hoping for having it formatted. I could just simply make HTML documents and load them in... but I would prefer it to be standard text with html coding in it and have JEditorPane/JTextPane...
  5. Replies
    12
    Views
    6,500

    [SOLVED] Re: Make JTextArea Support HTML

    I'm glad you understood it.

    So you just put the "text/html" string label in the setContentType method?

    Do you think JEditorPane/JTextPane would recognize html coding from a text file when it...
  6. Replies
    12
    Views
    6,500

    [SOLVED] Re: Make JTextArea Support HTML

    A different scenario often helps with the comprehension process.

    And the JTextPane tutorial provides very little code examples.
  7. Replies
    12
    Views
    6,500

    [SOLVED] Make JTextArea Support HTML

    I need to know how to make JTextArea or JEditorPane able to support HTML coding.

    Could anyone give me an example of how to do this?

    Any help would be appreciated! Thank you in advance.

    P.S....
Results 1 to 7 of 7