heres the code i put

import java.net.URL;
import com.sun.j3d.loaders.*;
import com.glyphein.j3d.loaders.milkshape.MS3DLoader;


public class shoulders {
	
  	try
	{	
  		Scene s = null;
  		Loader loader = new MS3DLoader (MS3DLoader.LOAD_ALL);	// .ms3d Loader

  		
  		java.io.File file = new java.io.File("./model.ms3d");
  		if (file.getParent().length() > 0) 
  		  loader.setBasePath(file.getParent() + java.io.File.separator);
  		Scene scene = loader.load(file.getName());
  		BranchGroup group = scene.getSceneGroup();


	}

      	catch (java.net.MalformedURLException ex1){	
      	}
      	catch (java.io.FileNotFoundException ex){
      	}
}
}

is has errors where is sais loader.setbasepath(file.getparent() + java.io.File.seperator);
Scene scene = loader.load(file.getName());
BranchGroup group = scene.getSceneGroup();

and where it sais

Scene s = null

Loader loader = new MS3DLoader (MS3DLoader.LOAD_ALL);

i just imported

import com.sun.j3d.utils.*;

cause it sais that it has access restrictions to /program file/java/jre6/lib/ext/j3dutils.jar

but it didnt change a thing

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.