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

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

Introduction

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

Usage

From source file Sketcher.java

public class Sketcher implements WindowListener {
    static JFrame window = new JFrame("Sketcher");

    public Sketcher() {
        window.setBounds(30, 30, 300, 300);
        window.addWindowListener(this);

From source file Main.java

public class Main implements WindowListener {
    JFrame window = new JFrame("Window State Listener");

    public Main() {
        window.setBounds(30, 30, 300, 300);
        window.addWindowListener(this);

From source file simphy.XYChart.java

/**
 *
 * @author Madeyedexter
 */
public class XYChart extends JFrame implements WindowListener {

From source file org.xulux.swing.listeners.NyxWindowListener.java

/**
 * A WindowListener to make sure we pass control
 * back to the main application when someone hits
 * the X button.
 *
 * @author <a href="mailto:martin@mvdb.net">Martin van den Bemt</a>

From source file com.db2eshop.gui.dialog.BaseDialog.java

/**
 * <p>Abstract BaseDialog class.</p>
 *
 * @author Denis Neuling (denisneuling@gmail.com)
 * 
 */

From source file pl.otros.logview.gui.actions.ExitAction.java

public class ExitAction extends OtrosAction implements WindowListener {

    private final JFrame frame;

    public ExitAction(OtrosApplication otrosApplication) {
        super("Quit", otrosApplication);

From source file org.pmedv.core.gui.AbstractApplicationWindow.java

public abstract class AbstractApplicationWindow extends JFrame implements WindowListener {

    private static final long serialVersionUID = -6864011165092389358L;

    protected ApplicationContext ctx;
    protected ApplicationWindowAdvisor windowAdvisor;

From source file scrabble.frmStartup.java

/**
 *
 * @author estuardoarevalo
 */
public class frmStartup extends javax.swing.JFrame implements WindowListener {

From source file com.db2eshop.gui.MainFrame.java

/**
 * <p>
 * MainFrame class.
 * </p>
 *
 * @author Denis Neuling (denisneuling@gmail.com)

From source file ftpclientgui.MainWindow.java

/**
 *
 * @author Przemo
 */
public class MainWindow extends javax.swing.JFrame
        implements IFTPManagerListener, ActionListener, WindowListener, ListSelectionListener {