/** @param e the event */ public void dragOver(DragSourceDragEvent e) { DragSourceContext context = e.getDragSourceContext(); int sa = context.getSourceActions(); int ua = e.getUserAction(); int da = e.getDropAction(); int ta = e.getTargetActions(); System.out.println("dl dragOver source actions" + sa); System.out.println("user action" + ua); System.out.println("drop actions" + da); System.out.println("target actions" + ta); }
public void dropActionChanged(DragSourceDragEvent dsde) { System.out.println("Action: " + dsde.getDropAction()); System.out.println("Target Action: " + dsde.getTargetActions()); System.out.println("User Action: " + dsde.getUserAction()); }