Package edu.gmu.seor.prognos.simulation.integration.gui

Examples of edu.gmu.seor.prognos.simulation.integration.gui.FileChooserDialog.saveFile()


   */
  private JButton createSaveWorldButton() {
    acSaveWorld = new AbstractAction("Save World") {
      public void actionPerformed(ActionEvent e) {
        FileChooserDialog ufd = new FileChooserDialog();
        String strfile =  ufd.saveFile(new Frame(), "Open...", ".\\", "*.tdb");
       
        int i = strfile.indexOf(".tdb");
        if(i < 1)
          return;
        strfile = strfile.substring(0, i);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.