May 21, 1998

Printing a Report

Printing a simple report from Java is far from being as simple as you might expect. You use the Toolkit class to create a PrintJob, but the method requires a

Tabbing Between Components

With Java 1.1, the Tab key will cause the focus to step through those Components in a Container which can accept user input. Components such as Labels, which do not

References to Special Characters

It is easy to reference any Unicode character in Java source provided you know its four digit code. For example, the copyright symbol can be placed in a String as

Right-Clicks on a Single Button Mouse

Those of us with a two- or three-button mouse are familiar with the idea of a right-click, but how can you detect which button is pressed from your Java code?