Uh-oh, it looks like your Internet Explorer is out of date.

For a better shopping experience, please upgrade now.

Instant Java

Instant Java

by John A. Pew

See All Formats & Editions

Instant Java applets--no programming necessary!

Now anyone can use Java to add animation, sound, and interactivity to their Web pages! Instant Java is your guide to using more than 75 easy-to-customize Java applets.

The second edition contains even more applets and examples--plus updated, foolproof instructions for plugging them


Instant Java applets--no programming necessary!

Now anyone can use Java to add animation, sound, and interactivity to their Web pages! Instant Java is your guide to using more than 75 easy-to-customize Java applets.

The second edition contains even more applets and examples--plus updated, foolproof instructions for plugging them into your Web pages. You'll find all the applets on the value-packed, cross-platform CD-ROM--along with sample HTML pages and valuable tools including Java WorkShop 1.0 30-Day Free Trial from Sun Microsystems, Symantec's Cafe Lite, and the latest JDK for SolarisTM, Windows 95, Windows NT, and Macintosh.

More than 75 working Java applets--just plug and play!

  • Text applets

  • Image applets

  • Animation applets

  • Slide shows

  • Tickers

And much more!

"Fantastic book/CD package for HTML authors...practical, hands-on instructions get you off to a fast start."--Computer Book Review

". . . quick Java applets for dressing up your Web pages."--PC Magazine

". . . full of useful applets that can be readily adapted to your Web site."--@WWWiz

What's on the CD-ROM...

All the Java applets and HTML sample pages plus...Java WorkShop for Windows 95 and Solaris™ (30-Day Free Trial) Symantec's Cafe Lite for Windows 95 WinEdit & WinZip for Windows 95 The Java Development Kit (JDK) for Solaris, Windows 95, Windows NT, and Macintosh

Editorial Reviews

New edition of a resource for Web authors who are looking to use Java on their Web sites. Features 140-plus applets with multi- dimensional effects, multi-line and paragraph capabilities, active time and date facilities, the "Data File" feature which brings real- time text updates to running applets, and the "Property Sheet" customizer. The CD-ROM includes all the applets covered in the book and the latest Netscape browser. Annotation c. by Book News, Inc., Portland, Or.

Product Details

Prentice Hall Professional Technical Reference
Publication date:
SunSoft Press Java Series
Edition description:
Product dimensions:
7.00(w) x 9.19(h) x 1.12(d)

Read an Excerpt

PREFACE: Preface
The third edition of Instant Java introduces a whole new generation of easy to use applets. In fact, they are an order of magnitude easier and allow you to customize and publish without ever editing a single line of HTML code. While these applets are packed with new capabilities, they maintain many of the effects introduced in earlier editions of the book. You'll find page after page of new ways to get your message across and give new functionality with incredible ease.

Included in the last chapter are the animation applets from the second edition, including full explanations on customization and over 40 animation examples.

Why We Wrote Instant Java Third Edition
We undertook the project of the third edition in large part because we saw a need for the functionality and interest that applets can provide to Web pages. In surfing the Web, we've found many attention grabbing ways to put across a message. More often than not, these features are complex to use. For instance, many Web sites of major companies and organizations have fancy mouseover effects and visually impressive tickers and text animations. Many of these effects are done with proprietary applets, or complex JavaScript. We felt we could do the same and offer even more interesting presentations of information with an ease and accessibility not currently available to most Web developers.

The New Instant Java Applets
Over and over again, as we worked on the development of the new Instant Java applets, our almost hourly comment started with, "You know what would be really cool..." and some new feature was born. The property sheet concept was thefirst such idea. We felt that Web developers needed an easy way to use an applet without hours of parameter adjusting, saving and reloading.

The property sheet is launched from any of the new Instant Java applets by placing the pointer over the applet and pressing Esc. This brings up the Property Sheet window that contains the editable properties of the applet. The Property Sheet is designed to effect the applet in real time. As a property is adjusted, the applet responds immediately to the new property value.

Trusted Applets
To provide these new features, the applets had to have permission to read and write to the local file system. This and other special permissions can be given to an applet if it is a trusted applet. Allowing the Instant Java applets to run as trusted applets required using Java Plug-in. Java Plug-in is a browser plug-in from Sun Microsystems that implements the complete Java run-time.

A step-by-step description of how to run the Instant Java applets as trusted applets is detailed in chapter one. Once this has been configured, you are ready to begin.

The customization features provided by the Property Sheet are only needed when you are designing an applet. We refer to this as design mode. During design mode, you customize the applet to get it just the way you want it. Then you save or publish your work. The saved or published version does not include the Property Sheet and cannot be used in design mode.

Two versions of each applet are on the Web site and CD; one that uses Java Plug-in and one that does not. The version that uses Java Plug-in is capable of displaying the Property Sheet so you can customize, save locally, or publish applets to your Web site. The other version of the applets is like the version you would publish; it does not use the plug-in nor the additional files required for the Property Sheet.

The performance difference between the two versions of the applets is noticeable at load time. The applets that run in the plug-in and use the Property Sheet require additional Java class files and, therefore, take longer to load. These additional files are not included in the applets you save or publish. The load time of the design mode applets is not representative of how the same applets will load in your Web page. Performance, in general, is very good. The files are relatively small. Most are no bigger than a medium sized image.

Who Should Use Instant Java
Instant Java has always been focussed on the Web developer. Earlier versions required some familiarity with HTML and programming experience could give you an advantage in developing a sophisticated implementation of an applet.

The third edition, however, presents applets that even the most casual Web enthusiast will find easy to use. If you can click a mouse button, you can customize these applets to their fullest extent.

Why Use Applets
There are many technologies and tools for doing Web development. You could use JavaScript, XML, Dynamic HTML and more. Each requires a level of sophistication to implement and each has its strengths and weaknesses. You could also use one of the development tools from the major software companies. These allow you to do some pretty fancy things, without days and weeks of trial and error development.

Using the Instant Java applets adds another weapon to your arsenal for creating killer Web pages. For example, you can create a ticker, with shadowed text, a background image, a highlight effect and audio, which loads a new page into a frame when clicked with the mouse. When you've got your creation just the way you want it, a few mouse clicks publishes it directly to your Web site. It's as easy as that. Instant Java Updates

As diligently as we have worked on debugging, and notwithstanding our testing, we're certain our code is not perfect. If you have a problem with an applet in this book, you should first try to isolate it by replacing an image or an audio file or the values of the properties. You will also want to check the Instant Java Web site at:

Customer Reviews

Average Review:

Post to your social network


Most Helpful Customer Reviews

See all customer reviews