CooTank As A JavaBean in An Applet: Popup Style



The CooTank bean is contained in an applet, test_ck11.class.
The purpose of test_ck11 is to allow you test the events fired by
CooTank Bean.  CooTank fires events when you enter, exist, view tips,
open url, and it switch links.


All the environment info and link info are fetch from the server.

The tank will live after the browser is switched to different page.
(It may take some time to load, please be patient.)
CooTank is running with following setings <APPLET CODE="test_ck11.class" Archive="cootank.jar" WIDTH=500 HEIGHT=350> <param name=screenW value="500"> <param name=screenH value="400"> <param name=soundFile value= "bubble.au"> <param name=links1 value= "http://www.coolshare.com/websurf|Somewhere out there...^#^http://www.coolshare.com/savers|The best screen savers in the world: from insect to outer space...^#^http://www.coolshare.com/work|Here is Mark's web work: is it cool?^#^http://www.coolshare.com/applets|Tons of FREE and cool java applets, Beans, and application over there...Click and cool your site there..."> <param name=links2 value= "http://www.coolshare.com/applets|Tons of FREE and cool java applets, Beans, and application over there...Click and cool your site there...^#^http://www.coolshare.com/link_ex.htm|A place to cool your site...^#^http://www.coolshare.com/link_app.htm|Mark's applet in the real world.^#^http://www.coolshare.com/html/webz_p.htm|A zoo...where you learn web..."> <param name=evnFiles1 value= "1|1|1|3|3|3|3"> <param name=evnFiles2 value= "0|1|0|floor.gif"> <param name=evnFiles3 value= "1|1|0|bubble.gif"> <param name=evnFiles4 value= "2|1|0|tips.gif"> <param name=evnFiles5 value= "3|5|2|fish21.gif|fish22.gif|fish23.gif|fish24.gif|fish25.gif|fish26.gif|fish27.gif"> <param name=evnFiles6 value= "4|5|0|shell11.gif|shell12.gif|shell13.gif|shell14.gif|shell15.gif"> <param name=evnFiles7 value= "5|4|0|horse11.gif|horse12.gif|horse13.gif|horse14.gif"> <param name=evnFiles8 value= "6|6|0|jelly11.gif|jelly12.gif|jelly13.gif|jelly14.gif|jelly15.gif|jelly16.gif"> </APPLET>
CooTank is running with following setings <APPLET CODE="test_ck.class" CODEBASE="classes/cootank" Archive="cootank.jar" WIDTH=500 HEIGHT=60> <param name=tankCGI value="http://www.coolshare.com/my-cgi-bin/cootank.cgi"> <param name=linkFile value="/users/u2/markqian/data/cootank/linkfile"> <param name=imageFile value="/users/u2/markqian/data/cootank/imagefile"> <param name=soundFile value="sound/bubble.au"> <param name=waterFill value="1"> <param name=keyShutDown value="0"> <param name=goPass value="1"> <param name=openAsStart value="0"> <param name=tankBgColor value="000000"> <param name=randomFish value="1"> <param name=offWhenLeave value="0"> </APPLET> If you don't see anything above(only a dark square) or see an error message in the status bar like: java.lang.NoClassDefFoundError java.lang.NoSuchMethodError that means that you are using a browser older than 4.x or a Netscape which doesn't fully support JDK1.1. You can upgrade your netscape so that it fully supports JDK1.1. Or simply switch to IE 4.x!!