boolean (ComponentDragObject dragObject) { /* TODO[yole]: support multi-drop (is it necessary?) if (componentCount == 2) { return isEmptySplitComponent(getSplitPane().getLeftComponent()) && isEmptySplitComponent(getSplitPane().getRightComponent()); } */ return dragObject.getComponentCount() == 1 && isEmptySplitComponent(myLeft ? getSplitPane().getLeftComponent() : getSplitPane().getRightComponent()); }