Try with GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration().

Hope this helps

Dani

----------------------


help please,
why the following code i an applet sometimes causes 
java.security.AccessControlException:

protected GraphicsConfigTemplate3D tmpl = new GraphicsConfigTemplate3D();
        protected GraphicsEnvironment graphicsEnv = 
GraphicsEnvironment.getLocalGraphicsEnvironment();
        protected GraphicsDevice device = graphicsEnv.getDefaultScreenDevice();
        protected GraphicsConfiguration config = device.getBestConfiguration(tmpl);


can anyone suggest a GraphicsConfiguration that will not cause 
java.security.AccessControlException?

Thanks
-Thanh


________________________________________________________________________
Skaff deg gratis epost-adresse og hjemmeside p� http://home.no/ du ogs�!

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





--

Diese E-Mail enth�lt vertrauliche und/oder rechtlich gesch�tzte Informationen. Wenn 
Sie nicht der richtige Adressat sind oder diese E-Mail irrt�mlich erhalten haben, 
informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das 
unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.

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