Unfurling Java's data transfer API

Savvy end-users expect Java applications to coexist with their non-Java brethren. But coexistence is more than simply sharing space on the same screen. The apps must share data as well. This month, Todd Sundsted shows you how to use...

05/01/98

MVC meets Swing

The designers of the Swing user interface components of the Java Foundation Classes (JFC) designed each component around a pattern called Model/View/Controller (MVC). The result is a user interface toolkit of almost unmatched...

04/01/98

Put your user interface on a diet

Lightweight user interface components (such as the Swing components provided with the Java Foundation Classes) have significant advantages -- that is, transparency and a platform-independent look and feel -- when compared to...

03/01/98

Internationalize dynamic messages

Learn how Java helps software developers writing internationalized applications improve their product's user interface and avoid a dangerous trap. (2,200 words)

02/10/98

Localize this!

Last month I demonstrated how you could quickly and painlessly modify your Java applications to make them more multicultural -- at least as far as dates, times, numbers, and money were concerned. However, the improvements needn't stop...

01/01/98

Write world-class applications

It's a small world and it's growing smaller every day. To keep up with the ever-shrinking world community, world-class application developers must free themselves from an ethnocentric mindset and consider the entire world as their...

11/01/97

Use the two "R"s of Java 1.1 -- Readers and Writers

With the release of Java 1.1, the developers of the Java class library improved the java.io package considerably. Among the improvements was a family of character-oriented stream classes. This month we'll take a look at class...

11/01/97

Waging war on electronic junk mail

Computer technology has brought many advantages to our everyday lives: streamlined work production, efficient communications, and vast amounts of easily accessible information to name a few. But as with every silver lining, there is a...

10/01/97

Build dynamically extensible applications

The ability to change the basic features of a program -- even while the program is executing -- is something I refer to as dynamic extensiblity, and is a feature that has eluded many C/C++ programmers due to the static nature of these...

09/01/97

3D computer graphics: Getting the hang of VRML

This month we wrap up our series of columns on three-dimensional modeling and computer graphics with a discussion of Virtual Reality Modeling Language (VRML). VRML provides a simple, concise, and expressive way to describe a...

08/01/97

3D computer graphics: Moving from wire-frame drawings to solid, shaded models

The wire-frame beach scene we created last month was pretty nifty, but it lacked realism. This month we take care of that by introducing two techniques that will make our beach scene more realistic. We'll begin with a discussion of...

07/01/97

3D computer graphics: Slide it, spin it, make it move -- transforming your virtual world

Static virtual worlds are, well, boring. Once the "golly" effect wears off, users begin to expect (and demand) more. You've already learned the basic techniques necessary to model a virtual world. This month I'll show you how to wow...

06/01/97

3D computer graphics: Model your world

Virtual reality is hot, and as the number-crunching power of today's computers increases, it's certain to become even hotter. Wouldn't it be really cool to build your own virtual reality? It's not so far fetched; you can do it -- if...

05/01/97

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