Applets have security constraints. For instance they can only connect to the server they
came from.
kent_mdk wrote:
hi to all
still confused. as browsing to this site
http://www.anfyteam.com/anj/anfybutton/anbutton.html
i got this error messages...
//==
Joseph Shraibman wrote:
What does Runtime.maxMemory() return exactly?
With further testing it appears to return exactly 64meg over the true limit.
Also when doing java -Xmx3m the real value used is actuall 4 megs, and it appears all odd
values are rounded up 1.
-
What does Runtime.maxMemory() return exactly? I have this program:
public class MaxMemory{
private static String uft(){
Runtime rt = Runtime.getRuntime();
long free = rt.freeMemory(), total = rt.totalMemory(), used = total - free;
long max = rt.maxMemory();
j
hi to all
still confused. as browsing to this site
http://www.anfyteam.com/anj/anfybutton/anbutton.html
i got this error messages...
//==
Java VM version: 1.4.1_01
Java VM vendor: Sun Microsystems Inc.
java.security.AccessControlException: access denied