Processing.org is very useful for making audio-visual applications quickly and easily. The included Processing Development Environment (PDE) makes it easy for nonprogrammers to get started with Processing and Java programming in general but experienced programmers will probably prefer using their IDE of choice, such as Eclipse.
Processing.org has some instructions on using the Processing library with Eclipse which is a good overview for transitioning to pure Java code since the PDE performs some pre-processing that allows for their simplified syntax.
The PDE has a ‘present’ mode that makes it real easy to view the program in fullscreen but it only works on the primary display and is not directly accessible in Eclipse.
In my work on my live animation program I have figured out the code to use the default present mode with Eclipse and to do arbitrary fullscreen that automatically scales to fit the device. This way I do not need to modify any width & height variables when i set up using a projector or another monitor.
After the jump are some code snippets to help get fullscreen working automatically regardless of screen size and layout.
