By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,401 Members | 803 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,401 IT Pros & Developers. It's quick & easy.

GraphicsDevice.setFullScreenWindow & Exclusive fullscreen problems

P: n/a
Hi,

I'm attempting to get a Swing application to go into Exclusive Fullscreen
mode and am curious if there's something that I need to do prior to
attempting to grab the fullscreen window. The code in question follows:

<code>
this.setUndecorated(true);
GraphicsDevice gd = this.getGraphicsConfiguration().getDevice();
if(gd.isFullScreenSupported()) {
System.out.println("### Exclusive FullScreen is supported");
gd.setFullScreenWindow(this);
} else {
System.out.println("### Exclusive FullScreen not supported");
this.setUndecorated(false);
}
</code>

I've tried this on an X-Windows based system and a Windows XP based system
and neither will let the program have exclusive fullscreen. Any help would
be much appreciated.

--Paul
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.