Package catchemrpg.functions

Examples of catchemrpg.functions.WindowCloseListener


        window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        window.setBounds(0, 0, BaseVars.WINDOWWIDTH, BaseVars.WINDOWHEIGHT);
        window.setTitle(BaseVars.lang.ui$windowTitle);
        window.requestFocus();
        window.setResizable(false);
        window.addWindowListener(new WindowCloseListener());
// Create canvas for painting...
        canvas = new Canvas();
        canvas.setIgnoreRepaint(true);
        canvas.setSize(BaseVars.WINDOWWIDTH, BaseVars.WINDOWHEIGHT);
//add listeners to the canvas, not the window.       
View Full Code Here

TOP

Related Classes of catchemrpg.functions.WindowCloseListener

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.