Point containerPoint = SwingUtilities.convertPoint(this, point, parent);
// Find out the underlying component
Component component = SwingUtilities.getDeepestComponentAt(parent, containerPoint.x, containerPoint.y);
if ((component != null) && (component instanceof DropTarget)) {
IEntity entity = dragged.getEntity();
if (entity != null) {
Point componentPoint = SwingUtilities.convertPoint(this, point, component);
if (showAmountChooser(event, entity)) {
// Delegate dropping to the amount chooser
DropAmountChooser chooser = new DropAmountChooser((StackableItem) entity, (DropTarget) component, componentPoint);