Using the Applet Viewer

chris (2002-12-16 18:41:05)
0 replies
The bin folder of the j2sdk bundle includes a java applet viewer. Whilst it doesn't overcome the issue of in-situ testing of sites and pages, it is an invaluable tool for use in developing and testing/debugging java applets. I have noticed, however that the java virtual machine is slow to start up - We can all see this in pages containing applets. They are always late to load, Unfortunately the same is true of the applet player and I don't know of any way around this at the moment - From what I can see, it's a run time issue and nothing to do with bandwidth.

It's easy to make it available to yourself by issuing the following commands as root

[chris@baikal bin]$ ./appletviewer ../java/Java/test.html

this assumes that you have symlinked the viewer into a convenient bin location. Mine is linked like so:

lrwxrwxrwx 1 root root 40 Dec 16 17:15 appletviewer -> /usr/java/j2sdk1.4.1_01/bin/appletviewer