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 › stretch a sketch over multiple displays
Page Index Toggle Pages: 1
stretch a sketch over multiple displays? (Read 1159 times)
stretch a sketch over multiple displays?
Jan 14th, 2006, 6:21pm
 
Is there a way of stretching a sketch over multiple displays without having the borders of the window?

For example if I set the size of the sketch to 2*screen.width it actually works over two screens as an applet, but you can see the window title bar and borders.

If I use presentation mode this unfortunately doesn't work as it goes only fullscreen on the first display.

Any suggestions?
Re: stretch a sketch over multiple displays?
Reply #1 - Jan 14th, 2006, 7:04pm
 
import javax.imageio.*;
void setup()
{
 // Removing the applet borders
 frame.setUndecorated(true);
 size(screen.width*2,screen.height);
 // frame.setLocation(0,0); // if needed
}
Page Index Toggle Pages: 1