Package pivot.wtk

Examples of pivot.wtk.ComponentListener


    public void startup(Display display, Dictionary<String, String> properties) {
        window1.setTitle("Window 1");
        window1.setPreferredSize(320, 240);

        window1.getComponentListeners().add(new ComponentListener() {
            public void parentChanged(Component component, Container previousParent) {
            }

            public void sizeChanged(Component component, int previousWidth, int previousHeight) {
                window1.align(window1.getDisplay().getBounds(),
View Full Code Here


    public void startup(Display display, Dictionary<String, String> properties) {
        window1.setTitle("Window 1");
        window1.setPreferredSize(320, 240);

        window1.getComponentListeners().add(new ComponentListener() {
            public void parentChanged(Component component, Container previousParent) {
            }

            public void sizeChanged(Component component, int previousWidth, int previousHeight) {
                window1.align(window1.getDisplay().getBounds(),
View Full Code Here

TOP

Related Classes of pivot.wtk.ComponentListener

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.