Package org.openbp.swing.components

Examples of org.openbp.swing.components.DragGlassPane.activate()


  {
    // Get the instance of the global drag glass pane used to draw the drag shadow
    DragGlassPane gp = DragGlassPane.getInstance();

    // Activate the drag shadow glass pane for the root pane container of this component
    gp.activate(this);

    // Convert the point to glass pane coordinates
    Point offset = SwingUtilities.convertPoint(subject, x, y, gp);

    // Draw the target rectangle
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.