Swing Test - Graceful Browser Detection of Java Swing

To compile the java file:

  javac SwingTest.java


To run, create the following html file:


<HTML>
<HEAD>
<TITLE>Swing Test - Graceful Browser Detection of Java Swing</TITLE>
</HEAD>
<BODY>
<APPLET CODE=SwingTest WIDTH=200 HEIGHT=30>
You don't seem to have Java enabled.  Please enable it and reload this page.
</APPLET>
</BODY>
</HTML>



And place the html file and the class file in a directory on the
webserver.


If the user has Java Swing installed in their browser, they will see a
message saying: You Have Swing.

If the user does not jave Java Swing installed they will be presented
with a button that will take them to a page that gives instructions on
how to get Java Swing installed in their browser.


If you have questions please send email to Kirby Vandivort
at kvandivo@ks.uiuc.edu or the BioCoRE team at biocore@ks.uiuc.edu

