We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › [newbie] setUndecorated in P3D mode
Page Index Toggle Pages: 1
[newbie] setUndecorated in P3D mode (Read 578 times)
[newbie] setUndecorated in P3D mode
Oct 27th, 2006, 9:23pm
 
Dear All,

I'm trying to make a full screen presentation without window decorations (a complete fullscreen) :

Code:

void setup()
{
size(screen.width, screen.height,P3D);
frame.setUndecorated(true);
background(255, 204, 0);
....


Everything works fine under the default JAVA2D renderer, but if I change to P3D, I get a :


java.awt.IllegalComponentStateException: The frame is displayable. at java.awt.Frame.setUndecorated(Unknown Source)


This is easily reproductible in the AnimatedSprite sketch.

Anyone has an idea on what's going on ?

Thanks in advance and happy processing.
Re: [newbie] setUndecorated in P3D mode
Reply #1 - Oct 27th, 2006, 9:54pm
 
Why not use the present mode,(Ctrl+Shift+R) and just set your sketch size() to the resolution of your screen?  

Re: [newbie] setUndecorated in P3D mode
Reply #2 - Oct 27th, 2006, 10:46pm
 
Yes, why not Smiley
For the record, here is a link to a post for the same result with exported applications.

http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Syntax;action=display;num=1133541482;start=0

Thanks movax and sorry for overlooking this...
Page Index Toggle Pages: 1