final ComponentItem componentItem = getComponentToInsert();
if (componentItem != null) {
processComponentInsert(e.getPoint(), null, componentItem);
}
}
<BUG>else if (e.getID() == MouseEvent.MOUSE_MOVED) {
myLastLocation = myGridInsertProcessor.processDragEvent(e.getPoint(), getComponentToInsert());
</BUG>
if (myLastLocation.canDrop(getComponentToInsert())) {
setCursor(FormEditingUtil.getCopyDropCursor());

final ComponentItem componentItem = getComponentToInsert();
if (componentItem != null) {
processComponentInsert(e.getPoint(), null, componentItem);
}
}
else if (e.getID() == MouseEvent.MOUSE_MOVED) {
final ComponentItem componentToInsert = getComponentToInsert();
if (componentToInsert != null) {
myLastLocation = myGridInsertProcessor.processDragEvent(e.getPoint(), componentToInsert);
if (myLastLocation.canDrop(getComponentToInsert())) {
setCursor(FormEditingUtil.getCopyDropCursor());
