Java Tutorial/Intermediate GUIs/A wiki editor

A wiki editor
This wiki editor is a component based on JPanel that embeds two components, one configured as non-editable display for an  and one as an editor for a, which can be used to edit wiki syntax. A is used to track the selection of links in the resulting HTML document. A parser that has yet to be written is meant to translate the wiki syntax to HTML or XML.

Exercises

 * Write an ANTLR parser that translates the wiki syntax into an HTML document.
 * Use an intermediate XML format as the output of the parser and use XSLT to transform it into an HTML document.
 * Add [Edit] -hyperlinks to the HTML document that allow to edit only a single section of the wiki document.
 * Improve the parser to allow more Wikipedia syntax.