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 & HelpPrograms › Windows location
Page Index Toggle Pages: 1
Windows location (Read 444 times)
Windows location
Sep 29th, 2008, 5:21pm
 
Hello

Is it possible to set the Start Window Location?
So if I start the final program it should appear
at the top left corner.. Is this possible?

Thx
Geko
Re: Windows location
Reply #1 - Oct 2nd, 2008, 12:39pm
 
yes

frame.setLocation(x,y);

in OpenGl MOde put in the setup(), in normal mode put in the draw().

To quit the borders use this function

public void init() {
 frame.setUndecorated(true);
 super.init();
}
Re: Windows location
Reply #2 - Oct 2nd, 2008, 8:07pm
 
janebeta7 wrote on Oct 2nd, 2008, 12:39pm:
yes

frame.setLocation(x,y);

in OpenGl MOde put in the setup(), in normal mode put in the draw().

To quit the borders use this function

public void init() {
 frame.setUndecorated(true);
 super.init();
}



ahhh very nice!!!! Thx a lot!

Geko
Page Index Toggle Pages: 1