Package net.alteiar.campaign.player.gui.centerViews.explorer.tree

Examples of net.alteiar.campaign.player.gui.centerViews.explorer.tree.MyTreeModel


    this.setLayout(new BorderLayout());

    BeanDirectory root = CampaignClient.getInstance().getRootDirectory();
    DocumentNode all = new DocumentNode(root, root.isDirectory());

    MyTreeModel treeModel = new MyTreeModel(all);
    tree = new JTree();
    tree.setModel(treeModel);
    tree.setRootVisible(false);
    tree.getSelectionModel().setSelectionMode(
        TreeSelectionModel.SINGLE_TREE_SELECTION);
View Full Code Here

TOP

Related Classes of net.alteiar.campaign.player.gui.centerViews.explorer.tree.MyTreeModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.