Package sun.awt

Examples of sun.awt.WindowIDProvider


                }
            };
        client.setBackground(new Color(30, 220, 40));
        clientCont.add(client);
        clientCont.validate();
        WindowIDProvider pid = (WindowIDProvider)client.getPeer();
        log.fine("Added XEmbed server(Canvas) with X window ID " + pid.getWindow());
        Rectangle toFocusBounds = toFocus.getBounds();
        toFocusBounds.setLocation(toFocus.getLocationOnScreen());
        f.validate();

        // KDE doesn't accept clicks on title as activation - click below title
        Rectangle fbounds = f.getBounds();
        fbounds.y += f.getInsets().top;
        fbounds.height -= f.getInsets().top;

        Process proc = startClient(new Rectangle[] {fbounds, dummy.getBounds(), toFocusBounds,
                                                    new Rectangle(b_modal.getLocationOnScreen(), b_modal.getSize()),
                                                    new Rectangle(10, 130, 20, 20)}, pid.getWindow());
        new ClientWatcher(client, proc, clientCont).start();
    }
View Full Code Here

TOP

Related Classes of sun.awt.WindowIDProvider

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.