Java System Property

Started by Wolftein, February 25, 2010, 18:18:16

Previous topic - Next topic

Wolftein

Hello!, i have an issue. Inside the lwjgl launcher i put this -> System.setProperty("HelloTest","Test"); and in my applet game when i call System.getProperty("HelloTest"); it return null, why is that?

princec

You can't set system properties from applets.

Cas :)

broumbroum

if using plugin2 it should be possibl, shouldn't it? => java-vm-args in an <applet>enclosure.

kappa

yes, but really why would you want to break backward compatibility on plugin1 just to use System Properties? :)

besides can't you just use Applet Parameters instead when using applets?