Re: HTML in Java



> So far so good. Now, unless I'm mistaken, I created some kind of HTML
> editor, which I just can't see on screen yet. I suppose I have to add
> this to a frame I created before or yet have to create in order to make
> it actually visible as an editor? (really feeling like a newbie)

Yes, see the example I posted at
http://www.nomorepasting.com/paste.php?pasteID=50854 how you
incorporate your JEditorPane into a JFrame so that you can actually see
your HTML. Basically what it comes down to that you will want to
replace the lines where I manually create some HTML (starting on line
46) with your own HTML string creation code. If you follow the outlines
of the example everything should be fine.

.



Relevant Pages

  • Searching for a WYSIWYG HTML Editor - See My Requirements before commenting.
    ... I need a special kind of WYSIWYG html editor, and would like to see if ... and have it converted to simple html code. ... I build a fair number of simple web sites that use php code to include ... minus any of the header or footer stuff most editor add. ...
    (alt.html)
  • Re: Text editors
    ... Does any text editor do this? ... I checked just now, and Wordpad lets me change the color of my font, ... For example, it you tell the editor the output will be used as HTML, the editor recognizes the sequence "" and displays it differently. ... A word processor on the other hand allows the user to define a quasi-syntax on the fly In order to do this, the word processor must save special flags with the "text" to afford decoding at a future time. ...
    (alt.html)
  • Re: Really simple PHP (sorta) question
    ... I do use a text editor. ... A lot depends on whether your site is 'flashy HTML, ... a simple database' in which case Dreamweaver, ... Optionally field types, sizes, labels, and whatever other properties a form element may have. ...
    (comp.lang.php)
  • Re: HTML tools for linux
    ... This creates HTML 4.0 transitional code with all upper-case tags. ... As with all other WYSIWYG editors, ... Emacs is a powerful kitchen-sink type of editor. ...
    (Fedora)
  • Re: Multiple Statements per Line
    ... CodeWright) allows me to insert JPEG and other images directly into ... my source file and display those in the editor. ... HTML and notepad provides the same thing, ... but people of other languages might find it slightly more cryptic). ...
    (alt.lang.asm)