The Guide to Psychophysics Programming with JAVA
What Java offers to the Psychophysicist
Full Screen Exclusive Mode and new Java2D API
Full Screen Exclusive Mode (FSEM) is introduced to core Java platform with version 1.4. Sun probably had the gaming industry in mind when they introduced it, nevertheless this offered a marvelous opportunity for psychophysicists. This mode and the new Java2D API, allow capturing the entire screen, provides tools for double buffering and proper vertical synchronization, all of which are essential for psychophysics programming. Depending on the OS/architecture, Java may use different strategies in FSEM. For instance on MS Windows it will most probably use the DirectX routines, on Mac OS X it uses native OpenGL libraries, on Linux/Unix it uses X11 libraries but can be instructed to use OpenGL libraries instead.
Architecture specific details are hidden while low level access is still possible