Reviews : Java Books :
Beginning Java 2- JDK 1.3 Version : Images and Animation

Buy this book
Title: Beginning Java 2- JDK 1.3 Version
ISBN: 1861003668
US Price: $ 49.99
Canadian Price:
C$ 74.95
UK Price: £ 35.99
Publication Date: March 2000
Pages: 1230
© Wrox Press Limited, US and UK.

Beginning Java 2- JDK 1.3 Version
Images and Animation

Try It Out – Rolling the Sprite

All the code should be there. You need to set the size of the applet so it is sufficient to accommodate everything, so it needs to be at least four times the sprite diameter. I used the following HTML for the applet:

<applet code="ImageDrawDemo.class" 
  width=400 height=400>
</applet>

Of course if you want to do a bit more work, you could always either adapt the applet size to fit the size of the sprite – or vice versa. Below is a screenshot of the applet in operation.

image7-4

You can see here that the background to the sprite is transparent – the text and the background to the logo under the sprite show quite clearly.

How to Add Java Applets to Your Site

New on the Java Boutique:

New Review:

Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling API boasts simplicity, ease-of-integration, a well-rounded feature set, and it's free!

New Applet:

Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA sequences into three useful formats.

Elsewhere on internet.com:

WebDeveloper Java
Lots of Java information on webdeveloper.com

WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.

ScriptSearch Java
Hundreds of free Java code files to download.

jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.