LWJGL
May 22, 2012, 14:17:00
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
LWJGL 2.8.3 released!
Home
Help
Search
Login
Register
LWJGL
>
Programming
>
General Java Game Development
>
Java System Property
Pages: [
1
]
« previous
next »
Print
Author
Topic: Java System Property (Read 1495 times)
Wolftein
Newbie
Posts: 25
Java System Property
«
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
Re: Java System Property
«
Reply #1 on:
February 26, 2010, 04:44:11 »
You can't set system properties from applets.
Cas
Logged
Puppygames - Play Revenge of the Titans here!
broumbroum
Prolific Timewaster
Posts: 285
Re: Java System Property
«
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
Re: Java System Property
«
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?
besides can't you just use Applet Parameters instead when using applets?
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Programming
-----------------------------
=> Lightweight Java Library Game Development
=> LWJGL Documentation
=> Bug Reports / RFE
=> OpenGL
=> OpenAL
=> General Java Game Development
-----------------------------
Archive
-----------------------------
=> Resolved Bugs/RFE
=> DirectX
=> DevIL
=> FMOD
Loading...