Examples (The Java™ Tutorials Bonus (original) (raw)

Trail: Bonus
Lesson: Full-Screen Exclusive Mode API

The Java Tutorials have been written for JDK 8. Examples and practices described in this page don't take advantage of improvements introduced in later releases and might use technology no longer available.
See Dev.java for updated tutorials taking advantage of the latest releases.
See Java Language Changes for a summary of updated language features in Java SE 9 and subsequent releases.
See JDK Release Notes for information about new features, enhancements, and removed or deprecated options for all JDK releases.

CapabilitiesTest demonstrates the different buffering capabilities available for the machine on which it is run.

DisplayModeTest 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 enters full-screen mode and uses multi-buffering through an active render loop.

Previous page: BufferStrategy and BufferCapabilities
Next page: Preparation for Java Programmer Language Certification