Class MainWindow

    • Field Detail

      • actPro

        protected jade.tools.sniffer.ActionProcessor actPro
    • Method Detail

      • ShowCorrect

        public void ShowCorrect()
      • resetTree

        public void resetTree()
      • addContainer

        public void addContainer​(String name,
                                 InetAddress addr)
        Tells the Agent Tree to add a container.
        Parameters:
        cont - name of the container to be added
      • removeContainer

        public void removeContainer​(String name)
        Tells the Agent Tree to remove a specified container.
        Parameters:
        cont - name of the container to be removed
      • addAgent

        public void addAgent​(String containerName,
                             AID agentID)
        Tells the Agent Tree to add an agent.
        Parameters:
        cont - name of the container to contain the new agent
        name - name of the agent to be created
        addr - address of the agent to be created
        comm - comment (usually type of the agent)
      • removeAgent

        public void removeAgent​(String containerName,
                                AID agentID)
        Tells the Agent Tree to remove a specified agent.
        Parameters:
        cont - name of the container containing the agent
        name - name of the agent to be removed
      • showError

        public void showError​(String errMsg)
        Displays a dialog box with the error string.
        Parameters:
        errMsg - error message to print
      • setUI2Motif

        public void setUI2Motif()
        enables Motif L&F
      • setUI2Windows

        public void setUI2Windows()
        enables Windows L&F
      • setUI2Multi

        public void setUI2Multi()
        enables Multi L&F
      • setUI2Metal

        public void setUI2Metal()
        enables Metal L&F
      • disposeAsync

        public void disposeAsync()
        Provides async disposal of the gui to prevent deadlock when not running in awt event dispatcher