> uncaught exception: java.lang.IllegalArgumentException: Canvas3D:
> GraphicsConfiguration is not compatible with Canvas3D
> java.lang.IllegalArgumentException: Canvas3D: GraphicsConfiguration is not
> compatible with Canvas3D
> at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1064)
> at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1026)
> at tripos.graphics3D.Panel3D.<init>(Panel3D.java:21)
> at SimpleViewer.<init>(SimpleViewer.java:27)
> at SimpleViewer.main(SimpleViewer.java:181)
Try the following initialization:
private Canvas3D createCanvas() {
GraphicsConfiguration gc = SimpleUniverse.getPreferredConfiguration();
canvas = new Canvas3D ( gc );
universe = new SimpleUniverse ( canvas );
return ( canvas );
} // private Canvas3D createCanvas()
==================================================================
Mona Wong-Barnum
National Center for Microscopy and Imaging Research
University of California, San Diego
http://ncmir.ucsd.edu/
"The truth shall set you free, but first it will piss you off"
A Landmark instructor
==================================================================
===========================================================================
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".