You are most likely running into a java security problem. An applet
is not able to use the resources of the system it is being run on
unless it is given permission to. Would you want some random applet
you load on a web page to gain access to your network or access files
on your machine without your permission? Of course not. This is why
Java restrict applets to only doing things within the limits of its
security permissions. I haven't played with applets for quite some
time now, but I do remember having to fool around with certificates
and security permissions so that my applet could perform certain
functions on the system it is running on (ie opening sockets, reading
files, etc...).
Anyways, I'm pretty sure this is your problem but I may be wrong since
I haven't played with applets for some time now.