by Kam-Hung Soh (kamhung dot soh at gmail dot com) 2007/07/28 15:34:41
Specify each dice combination using nDf+/-m notation, where n is the number of dice, f is the number of faces on each die and m is a modifier to add or subtract to the result. Lock and unlock any dice combination and result by selecting the checkbox on that row.
You need the Java 1.4.2 (or later) plug-in to run this applet. You can set the default values of each row using the param tag. The applet takes three parameters for each row, r, from 0 to 9:
Look at the source for this page to see how this is done.
You can download Dice Roller JAR archive and run it with java -jar DiceRoller.jar.