I'm trying to use applet to connect to a server. But I keep getting java.lang.RuntimePremission exitVM exception.

Can anyone help me with this one please????