Java 2 Network Security
toolkit's platform will be initiated and you will see a security exception being
displayed on the Command Prompt window from which you launched the
Applet Viewer:
permissions before being downloaded, so it has to run in a restricted
environment. When its button is pressed and the applet attempts to initiate a
print operation on the toolkit's platform, a security exception is thrown
because the applet is attempting to run out of its restricted environment.