Advertisement
Guest User

Jade errors

a guest
Sep 27th, 2014
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.84 KB | None | 0 0
  1. import jade.core.Profile;
  2. import jade.core.ProfileImpl;
  3. import jade.core.Runtime;
  4. import jade.util.ExtendedProperties;
  5. import jade.util.leap.Properties;
  6. import jade.wrapper.AgentContainer;
  7. import jade.wrapper.ControllerException;
  8. *
  9. *
  10. public class MainContainer {
  11. *
  12. ****/**
  13. ****** @param args
  14. ******/
  15. ****public static void main(String[] args) {
  16. ********// TODO Auto-generated method stub
  17. ********try {
  18. ************Runtime rt= Runtime.instance();
  19. ************Properties p=new ExtendedProperties();
  20. ************p.setProperty(Profile.GUI, "true");
  21. ************ProfileImpl pc= new ProfileImpl(p);
  22. ************AgentContainer container=rt.createAgentContainer(pc);
  23. ************container.start();
  24. ********} catch (ControllerException e) {
  25. ************// TODO Auto-generated catch block
  26. ************e.printStackTrace();
  27. ********}
  28. *
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement