If you look at the
Java console in your browser, you'll see that it throws a NoSuchMethodException for the parseDouble method. That is because parseDouble has only been around since version 1.2 and most browsers only support 1.1 (unless they have the JRE plugin). It's a good rule of thumb to remember that 90% of the time, if your
applet works in appletviewer but not in a browser, this is the reason.