Java 2 Standard Edition, version 1.4 section
Demos

JCanyon Demo

Illustrates use of the new I/O APIs in J2SE version 1.4 for high-bandwidth data transfer between the Java 2 platform and the outside world, as applied to the 3D graphics domain. As seen at the 2001 JavaOne Conference.

Image Preview

Image Preview is an extremely simple application demonstrating some basic capabilities of the new Image I/O API in 1.4. It demonstrates how easy it is to provide progress updates to the user when reading and writing images. With the Image I/O API, there is no need to write special code for each image format; the API automatically makes installed image reader, writer, and transcoder plug-ins available to the user.

DukeRoids

This simple game demonstrates some of the 2D performance acceleration features of J2SE version 1.4, including:

  • fullscreen/exclusive mode
  • display mode setting
  • multibuffering (the back buffer is in offscreen memory and is "flipped" to the screen on platforms that support that action.)
  • transparent sprite acceleration (on Windows)

The controls for DukeRoids are as follows:

  • s: "sneeze" (Duke shoots a missile)
  • arrows: move Duke
  • f: display frames per second counter
  • c: temporarily display rock count
  • r: increase number of rocks (hold down to continously generate rocks)
  • escape: quit
*


[ This page was last updated Apr-12-2003 ]

Company Info | Licensing | Employment | Press | Contact |   XML
JavaOne | Java Community Process |Java Wear and Books | Content Feeds | Java Series Books

Java, J2EE, J2SE, J2ME, and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.
 
 
Unless otherwise licensed, code in all
technical manuals herein (including articles,
FAQs, samples) is provided under this License.

Sun Microsystems, Inc.

Copyright © 1995-2003 Sun Microsystems, Inc.
All Rights Reserved. Terms of Use. Privacy Policy. Trademarks.