Example usage for java.awt AWTEvent subclass-usage

List of usage examples for java.awt AWTEvent subclass-usage

Introduction

In this page you can find the example usage for java.awt AWTEvent subclass-usage.

Usage

From source file Main.java

class TimerEvent extends AWTEvent {
    public static final int TIMER_EVENT = AWTEvent.RESERVED_ID_MAX + 5555;

    public TimerEvent(TimerComponent t) {
        super(t, TIMER_EVENT);
    }

From source file CustomEventPanel.java

class TimerEvent extends AWTEvent {
    public static final int TIMER_EVENT = AWTEvent.RESERVED_ID_MAX + 5555;

    public TimerEvent(TimerComponent t) {
        super(t, TIMER_EVENT);
    }