void (Rectangle targetBounds) { if (myHorizontal) { if (myInsertBefore) { myInsertFeedback.setLocation(targetBounds.x, myBounds.y); } else { myInsertFeedback.setLocation(targetBounds.x + targetBounds.width, myBounds.y); } } else { if (myInsertBefore) { myInsertFeedback.setLocation(myBounds.x, targetBounds.y); } else { myInsertFeedback.setLocation(myBounds.x, targetBounds.y + targetBounds.height); } } }