> I tried to export a scenegraph using x3d with the following code snippet:
>
> File f = new File(dir, file);
> FileWriter fw = new FileWriter(file);
> System.out.println("Saving scene "+scene+" to file "+dir+file);
> try {
> scene.writeX3D(fw,"x3d.dtd");
> } catch (Exception e) { System.out.println(e); }
> fw.flush();
> fw.close();
>
> So,  I allways get a "java.lang.NoSuchMethodError"  exception. Any
> comments on this ?

Sorry, for disturbing you with such a mess, I fixed this problem by
myself : An old vrml97.jar with exactly
NoSuchMethod (writeX3D(...)) was lying around on my HD :)

But : Everything seems to work except the file is never been writen !?
I mean no exception or anything else, can someone of the the X3D group
comment this, please ?
Does x3d depend on some other libaries (I have in fact installed xml.jar) ?

cu, Timo.

===========================================================================
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