void (DnDEvent aEvent) { if (!(aEvent.getAttachedObject() instanceof MyDragBean dragBean)) { return; } int targetCell = getDropGridLine(aEvent); if (targetCell < 0) return; mySelectedContainer.getGridLayoutManager().processCellsMoved(mySelectedContainer, myIsRow, dragBean.cells, targetCell); mySelectionModel.clearSelection(); mySelectedContainer.revalidate(); myEditor.refreshAndSave(true); cleanUpOnLeave(); }