List of usage examples for java.awt.dnd DragGestureEvent iterator
@SuppressWarnings("unchecked") public Iterator<InputEvent> iterator()
From source file:JLabelDragSource.java
public void dragGestureRecognized(DragGestureEvent dge) { if (DnDUtils.isDebugEnabled()) { DnDUtils.debugPrintln("Initiating event is " + dge.getTriggerEvent()); DnDUtils.debugPrintln("Complete event set is:"); Iterator iter = dge.iterator(); while (iter.hasNext()) { DnDUtils.debugPrintln("\t" + iter.next()); }/* ww w . j a v a2 s. co m*/ } Transferable transferable = new JLabelTransferable(label); dge.startDrag(null, transferable, this); }