Example usage for java.awt.event WindowAdapter subclass-usage

List of usage examples for java.awt.event WindowAdapter subclass-usage

Introduction

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

Usage

From source file WindowEventHandler.java

class WindowEventHandler extends WindowAdapter {
    public void windowClosing(WindowEvent evt) {
        System.out.println("Call your method here");
    }
}

From source file WindowEventHandler.java

class WindowEventHandler extends WindowAdapter {
    public void windowClosing(WindowEvent evt) {
        System.exit(0);
    }
}

From source file MainClass.java

class FrameListener extends WindowAdapter {
    public void windowClosing(WindowEvent e) {
        System.exit(0);
    }
}

From source file Main.java

class FocusSetter extends WindowAdapter {
    Component initComp;

    FocusSetter(Component c) {
        initComp = c;
    }

From source file com.jidesoft.spring.richclient.docking.JideApplicationWindowCloseListener.java

/**
 * A window closing listener that can (and does by default)
 * save the layout of the current page before closing.
 * 
 * @author Jonny Wray
 *

From source file org.springframework.richclient.application.docking.jide.JideApplicationWindowCloseListener.java

/**
 * A window closing listener that can (and does by default)
 * save the layout of the current page before closing.
 * 
 * @author Jonny Wray
 *

From source file ee.ioc.cs.vsle.util.Console.java

public class Console extends WindowAdapter implements ActionListener {
    private static final Logger logger = LoggerFactory.getLogger(StreamFollower.class);

    private JFrame frame;
    private JTextArea textArea;
    private Thread sysOutFollower;

From source file net.sourceforge.squirrel_sql.plugins.sqlscript.table_script.AbstractDataScriptCommand.java

/**
 * The base class for data script commands, they depends on the current selected SQL statement.
 * @author Stefan Willinger
 *
 */
public abstract class AbstractDataScriptCommand extends WindowAdapter {

From source file com.limegroup.gnutella.gui.search.MagnetClipboardListener.java

/**
 *
 * This singleton class listens to window activated events and parses the clipboard to see
 * if a magnet uri is present.  If it is it asks the user whether to download the file.
 */
public class MagnetClipboardListener extends WindowAdapter {

From source file components.Framework.java

public class Framework extends WindowAdapter {
    public int numWindows = 0;
    private Point lastLocation = null;
    private int maxX = 500;
    private int maxY = 500;