*.obj texture

I am pretty new to Java3D . I loaded an obj file like this :

try
{	
	Scene s = null;
	ObjectFile f = new ObjectFile ();
		f.setFlags (ObjectFile.RESIZE | ObjectFile.TRIANGULATE | ObjectFile.STRIPIFY);

	if (application == false){
		java.net.URL dino = new java.net.URL (getCodeBase(), "rex.obj");
		s = f.load (dino);
		tg.addChild (s.getSceneGroup ());

	}
	else {
		String s1 = "rex.obj";
		s = f.load (s1);
		tg.addChild (s.getSceneGroup ());
	}

}

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

How can I get this textured ?

This is exactly the same answer that someone who asked on sun forums got . At least tell me if it’s possible or what should I search for. :frowning: