synchronized (rootThreadGroup) { Thread thread = new InputDeviceBlockingThread( rootThreadGroup, device); thread.setPriority(threadPriority); return thread; } }
String osName = System.getProperty("os.name");    if((osName.length() > 8) && ((osName.substring(0,7)).equals("Windows"))){   String str = System.getProperty("j3d.rend"); if ((str == null) || (!str.equals("d3d"))) {  System.loadLibrary("j3dcore-ogl");  } else {  System.loadLibrary("j3dcore-d3d"); } } else {  System.loadLibrary("j3dcore-ogl"); } return null; }
                     public Object run() {			 synchronized (rootThreadGroup) {			     Thread thread = new InputDeviceBlockingThread(				 	    rootThreadGroup, device);			     thread.setPriority(threadPriority);			     return thread;			 }		     }