public DataProviderExplorerPanel() { view.setDropTarget(false); view.setDragSource(false); view.setRootVisible(false); setLayout(new BorderLayout()); add(view, BorderLayout.CENTER); getExplorerManager().setRootContext(new AbstractNode(children)); initialize(); }
tv.setDefaultActionAllowed(false); tv.setPopupAllowed(false); tv.setRootVisible(false); tv.setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION); Childs childs = new Childs();