public static void installOn(JComponent component, EditableArea area, ToolProvider provider, Class... dragTargets) {
    TreeDropListener listener = new TreeDropListener(area, provider, dragTargets);
    if (!ApplicationManager.getApplication().isHeadlessEnvironment()) {
      component.setDropTarget(new DropTarget(component, listener));
    }
  }
public static void installOn(JComponent component, EditableArea area, ToolProvider provider, Class... dragTargets)