I tried this code, because someone in the list sugest
me, but an error occurs. Where are the errors ?


//----------------------------------------------------------------------------
  //Construindo um ContentBranch
   private BranchGroup constructContentBranch()
  {
    Scene myVrmlScene = null;

    try
      {
       VRML97Loader ldr = new VRML97Loader();
       // set various flags here if you want
behaviours etc
       myVrmlScene =
ldr.load("C:\\Teste_JAVA3D\\GaCIVBrowser2\\cube.wrl.");
      }

   catch (Exception e)
      {
        System.out.println("Could not open VRML
file...existing");
        System.exit(1);
      }

      //Construct and return branch group containing
our VRML scene.
      BranchGroup contentBranchGroup = new
BranchGroup();


contentBranchGroup.addChild(myVrmlScene.getSceneGroup());
      return(contentBranchGroup);
  }


  This ERROR Occurs
  ------------------

  C:\jdk1.3.1\bin\javaw -classpath
"C:\Teste_JAVA3D\GaCIVBrowser2\classes;C:\jdk1.3.1\lib\ext\j3daudio.jar;C:\jdk1.3.1\lib\ext\j3dcore.jar;C:\jdk1.3.1\lib\ext\j3dutils.jar;C:\jdk1.3.1\lib\ext\vecmath.jar;C:\jdk1.3.1\jre\lib\ext\j3d-org.jar;C:\jdk1.3.1\jre\lib\ext\js.jar;C:\jdk1.3.1\jre\lib\ext\SaiX3d.jar;C:\jdk1.3.1\jre\lib\ext\uri.jar;C:\jdk1.3.1\jre\lib\ext\vlc_uri.jar;C:\jdk1.3.1\jre\lib\ext\xalan.jar;C:\jdk1.3.1\jre\lib\ext\xerces.jar;C:\jdk1.3.1\jre\lib\ext\xj3d.jar;C:\jdk1.3.1\jre\lib\ext\xj3d-external.jar;C:\jdk1.3.1\jre\lib\ext\xj3d-j3d.jar;C:\jdk1.3.1\jre\lib\ext\xj3d-nr.jar;C:\jdk1.3.1\jre\lib\ext\xj3d-parser.jar;C:\jdk1.3.1\jre\lib\ext\xj3d-sav.jar;C:\jdk1.3.1\jre\lib\ext\xj3d-utils.jar;C:\jdk1.3.1\jre\lib\ext\xj3d-vrml.jar;C:\jdk1.3.1\demo\jfc\Java2D\Java2Demo.jar;C:\jdk1.3.1\jre\lib\i18n.jar;C:\jdk1.3.1\jre\lib\jaws.jar;C:\jdk1.3.1\jre\lib\rt.jar;C:\jdk1.3.1\jre\lib\sunrsasign.jar;C:\jdk1.3.1\lib\dt.jar;C:\jdk1.3.1\lib\htmlconverter.jar;C:\jdk1.3.1\lib\jaws.jar;C:\jdk1.3.1\lib\rt.jar;C:\jdk1.3.1\lib\sunrsasign.jar;C:\jdk1.3.1\lib\tools.jar"
 gacivbrowser.MyApp
Could not open VRML file...existing


Thanks.

 Fábio Magalhães.


_______________________________________________________________________________________________
Yahoo! Empregos
O trabalho dos seus sonhos pode estar aqui. Cadastre-se hoje mesmo no Yahoo! Empregos 
e tenha acesso a milhares de vagas abertas!
http://br.empregos.yahoo.com/

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to