/** * Main for starting Jadex with the alarmclock. */ public static void main(String[] args) { Starter.main(new String[]{"-gui", "false", "-component", "jadex/bdiv3/examples/alarmclock/AlarmclockBDI.class"}); } }
/** * Main for starting Jadex with the alarmclock. */ public static void main(String[] args) { Starter.main(new String[]{"-gui", "false", "-component", "jadex/bdi/examples/alarmclock/Alarmclock.agent.xml"}); } }
public void init() { // Initialize browser launcher. BrowserLauncher2.setApplet(this); // Start platform. String[] args; String pargs = getParameter("args"); if(pargs!=null) { StringTokenizer stok = new StringTokenizer(pargs); args = new String[stok.countTokens()]; for(int i=0; i<args.length; i++) args[i] = stok.nextToken(); } else { args = new String[0]; } try { Starter.main(args); } catch(Exception e) { e.printStackTrace(); } }