But what do you mean by invisible frame?  is it the Window class in the API?

Andy

David Grace wrote:

Hi,

I think the best way to do this is create a separate fullscreen frame,
then remove the Canvas3D from its original frame and add it to the new
fullscreen frame. You can then swap it to the old frame when returning
from fullscreen mode. This works seemlessly for me.

This is because you can only call setUndecorated(true); on a frame which
has never been made visible.

David.



-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] On Behalf Of Andy
Sent: Thursday, 29 April 2004 7:10 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Java3D and FullScreen?

Hi, anyone can provide me the code for making a Java3D application full
screen enabled without any border decorations?  Because my code
generates errors saying that this window is displayable which is not
able to take away the decorations:

GraphicsEnvironment env =
GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice devices = env.getDefaultScreenDevice();
devices.setFullScreenWindow(this);
setDefaultLookAndFeelDecorated(false);
setUndecorated(true);

Many thanks,

Andy

========================================================================
===
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".
--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content
filtering.
http://www.mailguard.com.au/mg

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




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