Added support for applets to jinput

This commit is contained in:
Elias Naur 2006-07-03 12:00:12 +00:00
parent 8e11d22366
commit 5671f93656
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -132,6 +132,8 @@ public class LWJGLInstaller {
AccessController.doPrivileged(new PrivilegedAction() {
public Object run() {
System.setProperty("org.lwjgl.librarypath", path);
// Make sure jinput knows about the new path too
System.setProperty("net.java.games.input.librarypath", path);
return null;
}
});