FileDocCategorySizeDatePackage
GhostMotionAdapter.javaAPI DocExample693Mon Jan 09 11:02:00 GMT 2006None

GhostMotionAdapter

public class GhostMotionAdapter extends MouseMotionAdapter

Fields Summary
private GhostGlassPane
glassPane
Constructors Summary
public GhostMotionAdapter(GhostGlassPane glassPane)

		this.glassPane = glassPane;
	
Methods Summary
public voidmouseDragged(java.awt.event.MouseEvent e)

        Component c = e.getComponent();

        Point p = (Point) e.getPoint().clone();
        SwingUtilities.convertPointToScreen(p, c);
        SwingUtilities.convertPointFromScreen(p, glassPane);
        glassPane.setPoint(p);

        glassPane.repaint();