Runtime rt = Runtime.instance();
Profile p = new ProfileImpl();
p.setParameter("gui", "true");
ContainerController cc = rt.createMainContainer(p);
AgentController senderAgent1 = cc.createNewAgent("SenderAgent-1",
SenderAgent.class.getCanonicalName(), null);
AgentController senderAgent2 = cc.createNewAgent("SenderAgent-2",
SenderAgent.class.getCanonicalName(), null);
AgentController senderAgent3 = cc.createNewAgent("SenderAgent-3",
SenderAgent.class.getCanonicalName(), null);
AgentController receiverAgent1 = cc.createNewAgent("ReceiverAgent-1",
ReceiverAgent.class.getCanonicalName(), null);
// AgentController receiverAgent2 = cc.createNewAgent("ReceiverAgent-2",
// ReceiverAgent.class.getCanonicalName(), null);
// AgentController receiverAgent3 = cc.createNewAgent("ReceiverAgent-3",
// ReceiverAgent.class.getCanonicalName(), null);
senderAgent1.start();
senderAgent2.start();
senderAgent3.start();
receiverAgent1.start();
// receiverAgent2.start();
// receiverAgent3.start();
}