Applets are run on the client machine.
You are using the jdbc
dbc bridge the datasource
sampleDSN you set up on your machine is not set on
the machine of the client.
As you are using the jdbc
dbc bridge I assume you are using access or some local Database if you
want to run Jdbc code in an applet it must connect to a proper database server.