April 1997
Intermediate to advanced
1074 pages
22h 46m
English

An AWTError; thrown to indicate a serious runtime error.
public class java.awt.AWTError
extends java.lang.Error {
// Constructors
public AWTError (String message);
}
public AWTError (String message)
| Parameters | message | Detail message |
Error, String

The root class of all AWT events. Subclasses of this class are the replacement for java.awt.Event, which is only used for the Java 1.0.2 event model. In Java 1.1, event objects are passed from event source components to objects implementing a corresponding listener interface. Some event sources have a corresponding interface, too. For example, AdjustmentEvents are passed from Adjustable objects to AdjustmentListeners. Some event types do not have corresponding interfaces; for example, ActionEvents are passed from Buttons to ActionListeners, but there is no “Actionable” interface that Button implements.
public abstract class java.awt.AWTEvent extends java.util.EventObject { // Constants public final static long ACTION_EVENT_MASK; public final static long ADJUSTMENT_EVENT_MASK; public final static ...Read now
Unlock full access