File IntraPlateformMain.java¶
File List > java > skydata > IntraPlateformMain.java
Go to the documentation of this file
package skydata;
import jade.core.Runtime;
import jade.core.ProfileImpl;
import jade.util.ExtendedProperties;
import jade.util.leap.Properties;
import jade.wrapper.AgentContainer;
public class IntraPlateformMain {
public static void main(String[] args) {
try {
Runtime rt = Runtime.instance();
Properties p = new ExtendedProperties();
p.setProperty("gui", "true");
ProfileImpl pc = new ProfileImpl(p);
AgentContainer container = rt.createMainContainer(pc);
container.start();
} catch (Exception e) {
e.printStackTrace();
}
}
}