Switch between windowed and fullscreen mode

edited April 2016 in How To...

Hi,

I want to start a sketch in windowed mode and switchto fullcreen mode and bak with a shortcut shift + f (shift to not accidently return from fs mode). fullscreen() can only be run in setup() but not in a keyPressed() event. I found http://www.superduper.org/processing/fullscreen_api/ but it throws an error and processing hangs when I use it. Is there eventually a way to do this without an external api? Thanks, C.

Sign In or Register to comment.