The JavaTM Tutorial
Previous Page Lesson Contents Next Page Start of Tutorial > Start of Trail > Start of Lesson Search
Feedback Form

Trail: Bonus
Lesson: Full-Screen Exclusive Mode API

Examples


Note: You can only run these examples if you're using Java 2 Standard Edition version 1.4 or higher.
CapabilitiesTest(in a .java source file) demonstrates the different buffering capabilities available for the machine on which it is run.

DisplayModeTest(in a .java source file) shows a Swing application that uses passive rendering. If full-screen exclusive mode is available, it will enter full-screen exclusive mode. If display mode changes are allowed, it allows you to switch between display modes.

MultiBufferTest(in a .java source file) enters full-screen mode and uses multi-buffering through an active render loop.



Previous Page Lesson Contents Next Page Start of Tutorial > Start of Trail > Start of Lesson Search
Feedback Form

Copyright 1995-2002 Sun Microsystems, Inc. All rights reserved.