NYCJava.net Main Page

About NYCJava.net JUG

Java Study Groups:
Java Mobile
SCJP 6 (Programmer Cert.)
Design Patterns
SCEA 5 (Architect Cert.)
Java Enterprise Study Group


Sponsor of the Skylight1
open source project
Location Sponsor:
http://www.nycjava.net/JSPWiki/pace.jpg

A member SIG of
http://nypc.org

Sponsor of the
NYC Java Meetup
http://www.nycjava.net/JSPWiki/meetup.png

help support NYC Java:
http://cafepress.com/nycjava
http://www.nycjava.net/JSPWiki/mug.jpg http://www.nycjava.net/JSPWiki/tshirt.jpg

Special thanks to:
Sun Microsystems
Prentice Hall
O'Reilly
JetBrains
Apress
and NYPC!

Book Reviews
Articles
Java Links
Java Jobs
Humor
About Duke
System Info

Find pages
About this Wiki
Wiki Quick Start
WikiEtiquette
Set your name in
UserPreferences



[RSS]

About Duke


This is version 14. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]


The character in the upper left corner is the Java mascot, "Duke" (open sourced by Sun).

This Java applet recalls the earliest (and probably first) example of a Java applet in a web browser with the following modifications:
  • the animation cycles only once when it is loaded or if you tickle his nose (with the ability to pause)
  • you can doodle on him (but cleared with the animation).
  • if you right click you'll get a message

The code is derived from a Java 1.1 animation example (over 10 years ago) and compiled in Java 6 as follows:
javac -target 1.1 -source 1.2 Duke.java (so that it can still work on most JVMs)

Duke.gif




Go to top   More info...   Attach file...
This particular version was published on 01-Mar-2007 12:05:30 PST by admin.