我有一个按钮
再写一个按钮事件,这样
private class Button6Handler implements ActionListener { public void actionPerformed(ActionEvent e) {

CreateMapElementMain.main(new String[0]);
CreateHeroPubMain.main(new String[0]);
CreateCityRelaytionMain.main(new String[0]);
UpdateWildernessArmsMain.main(new String[0]);
UpdateNPCCityFightObjectMain.main(new String[0]);
JOptionPane.showMessageDialog(jf, "全部数据生成完毕!");
}
}
我想调用每一个程序,可是好像不可以被都执行
请问怎样就可以被依次执行这些程序!