return target;
}
public static JTree cloneJTree(JTree source) {
DisplayNode root = clone((DisplayNode) source.getModel().getRoot(), true);
TreeViewModel dtm = new TreeViewModel(root);
JTree target = new JTree(dtm);
CloneHelper.cloneComponent(source, target, new String[] {"UI", // class javax.swing.plaf.TreeUI
"UIClassID", // class java.lang.String
"accessibleContext", // class javax.accessibility.AccessibleContext
"actionMap", // class javax.swing.ActionMap