When static images just don't make the cut

Images don't have to stand still. They can move. Unfortunately, with the basic Java language class library, you can't display images like the output of a video feed or even an animated GIF, which has become so commonplace on the Web....

04/01/97

How Java uses the producer/consumer model to handle images -- An insider's look

This month we slip behind the scenes to catch a glimpse of Java's image handling framework. We'll be examining two key components of the framework: the ImageProducer interface and the ImageConsumer interface. As a bonus, I'll also...

03/01/97

Learn how applets load network-based images asynchronously

Because an applet's existence is network-based, the designers of the Java class library had to come up with a system that effectively dealt with the network delay that exists when pulling images across the network. The result of their...

02/01/97

Drawing text is easy with three Java classes

Drawing text on a component is just as easy as drawing lines and circles. The Graphics class provides the methods, and the Font and FontMetrics classes provide the support necessary to guarantee that the result is visually appealing....

01/01/97

Examining HotSpot, an object-oriented drawing program

This column is about HotSpot -- a program that demonstrates what can be accomplished in Java using only a few tools. In this case, our tools are the Graphics class, the Event class, the Observable class, the Observer interface, and...

12/01/96

Using the Graphics class

The Graphics class is at the heart of many Java programs, for it provides the framework for all graphics operations. This article describes, in detail, the Graphics class and the drawing primitives it provides, and demonstrates how to...

11/01/96

Observer and Observable

Here's an introduction to the Observer interface and the Observable class found in the Java programming language class library. This article describes both and demonstrates how they can be used to implement programs based on the...

10/01/96

Load More