www.randelshofer.ch

RubikPlayer

 

© Werner Randelshofer

Readme  Changes  License

Test 1

 

This is a stress test, which features 36 instances of the rubik player applet and a very long script.

Try to start all the scripts. As you notice, only 5 scripts run at any given time. This is because of the thread pool. It allows only 5 concurrent threads. The thread pool avoids a security exception which is thrown by the browser, when applets use an excessive number of threads.

Applet Tag:

<applet
    code="ch.randelshofer.rubik.RubikPlayerApp.class"     archive="rubikplayer.zip"
    
width="100" height="140">

<param name="scriptLanguage" value="BandelowENG">
<param name="script"         value="(R CU)1260">
<param name="displayLines" value="1">

</applet>