The EPUB
Open Toolbox (introduced in the last two blog entries)
includes a WYSIWYG editor based on the Swing HTML Editor Framework
(SHEF), but extended in small ways. For example, keyboard shortcuts
can be used for bold, italics, etc.
One of the holy grails of the Java desktop world, that is,
WYSIWYG support, can thus be solved via SHEF. Here's the visual
pane of SHEF embedded in a NetBeans TopComponent:
And, when you switch to the Source view, the above is shown as
follows in...