FileDocCategorySizeDatePackage
GhostDropManagerDemo.javaAPI DocExample519Mon Jan 09 11:02:00 GMT 2006None

GhostDropManagerDemo

public class GhostDropManagerDemo extends AbstractGhostDropManager

Fields Summary
private JComponent
target
Constructors Summary
public GhostDropManagerDemo(JComponent target)

        super(target);
    
Methods Summary
public voidghostDropped(GhostDropEvent e)

	   String action = e.getAction();
	   Point p = getTranslatedPoint(e.getDropLocation());

	   if (isInTarget(p)) {
	       JOptionPane.showMessageDialog(this.component, "Action: " + action);
	   }