does anyone know how to write some HTML code from a java applet into a
document frame (in the browser)?
Regards
Fabian
This is not a direct answer to your question, but what you're getting at
might be a little unorthodox.
An easy way to create dynamic HTML is to use JavaScript, providing the
JavaScript feature set will meet your needs. This approach will keep
your
users from waiting for an applet to load since JavaScript comes along
with
the HTML page. Again, I realize that this might not be what you're
looking
for, but it might work.
If you need more horsepower (e.g. database lookup, etc.), you might want
to look at servlets. These are server-side applets that can generate
HTML.
Servlets are essentially the Java version of CGI.
Mojave corporation has a framework for building some pretty
sophisticated
server-side applications, including database lookups, etc. Their HTML
generation classes are a very thorough wrapping of the HTML 3.2 DTD, and
the framework supports JavaScript nicely.
Just a couple thoughts, anyway.
Garrett Smith
Mojave Corporation
http://www.mojave-corp.com