Everyone
When I try a load vrml on
IE or NETSCAPE.It has occured The program can running on Appletview but,IE
can not .
My instruction is
URL cc=null;
try{ cc=new URL("http://192.168.8.210/java2/db.wrl"); }catch (Exception e) { System.err.println(e); } Scene s = null;
try{ s =
loader.load(cc);
}catch (Exception e)
{
System.err.println(e); } follow is error message
java.lang.InstantiationException:
Vrml
at java.lang.Class.newInstance0(Native
Method)
at
java.lang.Class.newInstance(Class.java, Compiled Code)
at
sun.applet.AppletPanel.createApplet(AppletPanel.java:508)
at
sun.plugin.AppletViewer.createApplet(AppletViewer.java:814)
at
sun.applet.AppletPanel.runLoader(AppletPanel.java:444)
at
sun.applet.AppletPanel.run(AppletPanel.java:282)
at
java.lang.Thread.run(Thread.java:479)
Who Can tell me Why?
|