LWJGL
May 22, 2012, 05:14:07 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Java System Property  (Read 1494 times)
Wolftein
Newbie
*
Posts: 25


« on: February 25, 2010, 10:18:16 »

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?
Logged
princec
Nerdus Imperius
*****
Posts: 1782



WWW
« Reply #1 on: February 26, 2010, 04:44:11 »

You can't set system properties from applets.

Cas Smiley
Logged

broumbroum
Prolific Timewaster
****
Posts: 285



WWW
« Reply #2 on: February 26, 2010, 13:04:10 »

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

Sf3JSwing project (Apache License) -  http://sf.net/projects/sf3jswing
Sf3jswing Project Forum - http://apps.sourceforge.net/phpbb/sf3jswing/ (recent updates)
Mercurial Repository - http://sf3jswing.hg.sourceforge.net/hgweb/sf3jswing/sf3jswing/summary
kappa
Administrator
Nerdus Imperius
*****
Posts: 961



« Reply #3 on: February 26, 2010, 13:06:58 »

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

besides can't you just use Applet Parameters instead when using applets?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!