Example usage for java.awt.event AWTEventListener interface-usage

List of usage examples for java.awt.event AWTEventListener interface-usage

Introduction

In this page you can find the example usage for java.awt.event AWTEventListener interface-usage.

Usage

From source file Main.java

public class Main implements AWTEventListener {
    public void eventDispatched(AWTEvent evt) {
        if (evt.getID() == WindowEvent.WINDOW_OPENED) {
            ComponentEvent cev = (ComponentEvent) evt;
            if (cev.getComponent() instanceof JFrame) {
                System.out.println("event: " + evt);

From source file net.sourceforge.squirrel_sql.fw.gui.debug.DebugEventListener.java

/**
 *  This code was developed originally by Romain Guy.  The original - and simpler - version is here:
 *  
 *  http://www.jroller.com/gfx/entry/dynamic_debugging_with_swing
 *  
 *  This is an event listener that listens for mouse events (enter, exit and drag) and installs a 

From source file edu.ku.brc.ui.dnd.SimpleGlassPane.java

/**
 * Simple glass pane that writes and centers text while fading the background.
 * 
 * @author rods
 *
 * @code_status Alpha

From source file idontwant2see.IDontWant2See.java

/**
 * A very simple filter plugin to easily get rid of stupid programs in the
 * program table.
 *
 * @author Ren Mach
 */