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; }
System.loadLibrary("jawt"); return null; }
		public Object run() {		    		    String osName = System.getProperty("os.name");		    /* System.out.println(" os.name is " + osName ); */		    // If it is a Windows OS, we want to support		    // dynamic native library selection (ogl, d3d)		    if((osName.length() > 8) && 		       ((osName.substring(0,7)).equals("Windows"))){						/* 			 * TODO : Will support a more flexible dynamic 			 * selection scheme via the use of Preferences API.			 *			 */			String str = System.getProperty("j3d.rend");			if ((str == null) || (!str.equals("d3d"))) {			    /* System.out.println("(1) ogl case : j3d.rend is " + str ); */			    System.loadLibrary("j3dcore-ogl");			}			else {			    /* System.out.println("(2) d3d case : j3d.rend is " + str); */			    System.loadLibrary("j3dcore-d3d");			}		    }		    else {			/* System.out.println("(3) ogl case"); */			System.loadLibrary("j3dcore-ogl");		    }		    return null;		}