The fullscreen library for processing allows you to set the screen resolution to match your Processing sketch’s size so that it can take over the full screen. It also includes key bindings so that you can enter and exit fullscreen mode while the application is running.
Thanks to Mike Bukhin for the link.