You can generate HTML (Hypertext Markup Language) using the
jHTML classses. You can generate it
dynamically, (on the fly in a servlet), using JSP, PHP or Freemarker. It is also fairly easy to roll your own
methods that will apply leading and trailing HTML
tags to a string. One of the easiest ways of generating a complex display is to
generate the HTML
for it and let either the browser or Swing render it for you.