CooTank As An Applet



The CooTank bean is contained in an applet, test_ck12.class.
The purpose of test_ck12 is to allow you test CooTank Bean's public
methods. There are four public methods are available from the bean:

  talk - have the selected object "speak" what you type
  addObject - add an object in specified type
  deleteObject - delete a selected object
  clearObject - clear all objects

Try it out: design your own tank!!

How many fishes can you add upto?

It may take some time to load, please be patient.



CooTank is running with following setings

<APPLET CODE="cootank.class"  Archive="cootank.jar" WIDTH=200 HEIGHT=60>
<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">
<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>



After a while, 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!!