magazine resources subscribe about advertising

New Architect Daily
Commentary and updates on current events and technologies

CMP Media E-Book

Download your copy today.

Research
Search for reports and white papers from industry vendors and analysts.

This Week at NewArchitect.com Subscribe now to our free email newsletter and get notified when the site is updated with new articles







Day of Defeat Online Gaming

 New Architect > Archives > 1999 > 11 > Java@Work

Graphic Descriptions

Nothing sells computer programs like graphics. Some would argue that the whole World Wide Web explosion is an outgrowth of people not wanting to use text-based Internet tools. While this may or may not be true, most users want Web pages to use the graphical capabilities that their browsers provide.

Java, of course, is a good choice for bringing dynamic graphics into a Web page. Sure, you can incorporate static pictures without Java, and you can even use animated GIF files to create animations, but only a program can create images that change with user input, or external data.

However, many of us don't use Java graphics that often. Most Web business applications rely more on things like text fields and buttons -- the traditional form-based interface. This month I wanted to experiment with several graphical techniques, so I wrote a simple applet to serve as a test bed. Along the way I created a couple of interesting reusable base classes that you might use in a variety of practical programs. I also flirted with a few interesting techniques including custom objects and thread-based animation. These techniques and classes have wide applicability in many situations including presentation graphics, computer-based training, and other graphic-intensive programming.

The Test Applet

Figure 1 shows the animated display applet.




  Day of Defeat Online Gaming

home | daily | current issue | archives | features | critical decisions | case studies | expert opinion | reviews | access | industry events | newsletter | research | careers | info centers | advertising | subscribe | subscriber service | editorial calendar | press | contacts


Copyright © 2006 CMP Media, LLC Read our privacy policy, your California privacy rights, terms of service.
SDMG Web sites: BYTE.com, C/C++ Users Journal, Developer Pipeline, Dr. Dobb's Journal, DotNetJunkies, MSDN Magazine, Sys Admin,
SD Expo, SD Magazine, SqlJunkies, The Perl Journal, Unixreview, Windows Developer Network, New Architect

web2