Package entagged.tageditor.listeners

Examples of entagged.tageditor.listeners.DialogWindowListener


        /*
         * configure dialog
         */
        super(parent, LangageManager.getProperty("freedbpanel.matching"), true);
        this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        this.addWindowListener(new DialogWindowListener());
        this.setSize(600, 600);
        this.setLocation(
                PreferencesManager.getInt("entagged.screen.width") / 2 - 300,
                PreferencesManager.getInt("entagged.screen.height") / 2 - 300);
        this.getContentPane().setLayout(new GridBagLayout());
View Full Code Here


    this.setContentPane(getJContentPane());

    // Sets some default things, closing behavior, location, size...
    this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
    this.addWindowListener(new DialogWindowListener() {
      public void windowClosing(WindowEvent e) {
        TagEditorFrame.this.saveGUIPreferences();
        Initialization.exit();
      }
    });
View Full Code Here

TOP

Related Classes of entagged.tageditor.listeners.DialogWindowListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.