Hi mona,
 
You are constructing a canvas-3d without first setting a graphics configuration, which is naughty according to 1.2.1
 
This is what you need to do :
 

 // Sets the requred or preffered rendering options
 
 GraphicsConfigTemplate3D template = new GraphicsConfigTemplate3D();
 template.set<blahdy blah>  
 

 // Get the GraphicsConfiguration that best fits our needs.
 
 GraphicsConfiguration grx_conf =
     GraphicsEnvironment.getLocalGraphicsEnvironment().
     getDefaultScreenDevice().getBestConfiguration(template);
  

 // Construct the new frame with the correct graphics configuration
 
 Frame frame = new Frame ("Title", grx_conf);
 
 
 
 
Alternativly send me your code and Ill fix it.
 
N
 
 
 
 
 
----- Original Message -----
From: "Mona Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 28, 2001 11:08 PM
Subject: [JAVA3D] Java 1.2 vs 1.2.1

>         I just tested 1.2.1 and got the following error message when I ran my
> program which I did not get in 1.2:
>
>         WARNING: Canvas3D constructed with a null GraphicsConfiguration.
>
>         Also, I noticed that my objects are positioned differently, more zoomed
> in.
>
>         As far as I can tell, these are not show stoppers.  If they are
> indicative of any problem, I appreciate someone letting me know.
>
> Cheers,
>
> Mona
>
> ==================================================================
> Mona Wong
> 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".

Reply via email to