Package jade.gui

Examples of jade.gui.AgentTree


    // Agent tree and space for internal frames
    //////////////////////////////////////////////
    Font f;
    f = new Font("SanSerif", Font.PLAIN, 14);
    setFont(f);
    agentTree = new AgentTree(f);
    JPopupMenu popup = new JPopupMenu();
    popup.add(startManagingLogAction);
    popup.add(stopManagingLogAction);
    agentTree.setNewPopupMenu(AgentTree.CONTAINER_TYPE, popup);
    agentTree.tree.setSize(new Dimension(300, 600));
View Full Code Here


    Font f;
    f = new Font("SanSerif",Font.PLAIN,14);
    setFont(f);
    setLayout(new BorderLayout(10,10));

    treeAgent = new AgentTree(f);
    selArea = new JTextArea(5,20);
    selArea.setEditable(true);
    pane = new JSplitPane(JSplitPane.VERTICAL_SPLIT,new JScrollPane(treeAgent.tree),new JScrollPane(selArea));
    pane.setContinuousLayout(true);
View Full Code Here

  super();
  System.Drawing.Font f;
  f = new System.Drawing.Font("SanSerif", 14, FontStyle.Regular, GraphicsUnit.Pixel);
  #DOTNET_INCLUDE_END*/

    treeAgent = new AgentTree(f);

    panelcan = new PanelCanvas(mwnd,this,mySniffer);

    // Slight edit to this by R. Kessler.  We use a Scrollpane's ability to have
    // a column header by setting the columnheaderview to be the canvAgent.  Now,
View Full Code Here

    Font f;
    f = new Font("SanSerif",Font.PLAIN,14);
    setFont(f);
    setLayout(new BorderLayout(10,10));

    treeAgent = new AgentTree(f);
    new DropTarget(treeAgent.tree, this);

    //To allow single selection on the tree.
    //  treeAgent.tree.getSelectionModel().setSelectionMode
    //  (javax.swing.tree.TreeSelectionModel.SINGLE_TREE_SELECTION);
View Full Code Here

TOP

Related Classes of jade.gui.AgentTree

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.