private void repaintDragRepresentation() { DragSource dragSource = dragDescendant.getDragSource(); Visual dragRepresentation = dragSource.getRepresentation(); if (dragRepresentation != null) { Point dragOffset = dragSource.getOffset(); repaint(dragLocation.x - dragOffset.x, dragLocation.y - dragOffset.y, dragRepresentation.getWidth(), dragRepresentation.getHeight()); } }
private void repaintDragRepresentation() { DragSource dragSource = dragDescendant.getDragSource(); Visual dragRepresentation = dragSource.getRepresentation(); if (dragRepresentation != null) { Point dragOffset = dragSource.getOffset(); repaint(dragLocation.x - dragOffset.x, dragLocation.y - dragOffset.y, dragRepresentation.getWidth(), dragRepresentation.getHeight()); } }
DragSource dragSource = dragDescendant.getDragSource(); Visual dragRepresentation = dragSource.getRepresentation();
DragSource dragSource = dragDescendant.getDragSource(); Visual dragRepresentation = dragSource.getRepresentation();
&& dragDescendant.getDragSource() == null) { dragDescendant = dragDescendant.getParent(); dragLocation = null; } else { DragSource dragSource = dragDescendant.getDragSource(); dragLocation = dragDescendant.mapPointFromAncestor(display, x, y); DragSource dragSource = dragDescendant.getDragSource();
&& dragDescendant.getDragSource() == null) { dragDescendant = dragDescendant.getParent(); dragLocation = null; } else { DragSource dragSource = dragDescendant.getDragSource(); dragLocation = dragDescendant.mapPointFromAncestor(display, x, y); if (dragLocation == null) { DragSource dragSource = dragDescendant.getDragSource();
DragSource dragSource = dragDescendant.getDragSource();
DragSource dragSource = dragDescendant.getDragSource();
DragSource dragSource = dragDescendant.getDragSource();
DragSource dragSource = dragDescendant.getDragSource();