Package jmt.gui.common.panels

Examples of jmt.gui.common.panels.ResultsWindow$MeasurePanel


          }
          dispatcher.simulator.refreshTempMeasures();
          dispatcher.results.setTempMeasures(dispatcher.simulator.getTempMeasures(), dispatcher.simulator.checkSimProgress());
          initialized = true;
          // Sets ResultsWindow
          ResultsWindow rw = new ResultsWindow(results, dispatcher);
          gui.setResultsWindow(rw);
          // Moves it to lower right corner if animation is enabled
          if (sd.isAnimationEnabled()) {
            rw.moveToLowerRightCorner();
          }
          // Shows it
          gui.showResultsWindow();
        }
        // If it's next one, refresh stored tempMeasures (if simulation is started and not paused)
View Full Code Here


      if (model.containsSimulationResults()) {
        if (model.isParametricAnalysisEnabled()) {
          this.setResultsWindow(new PAResultsWindow(model.getParametricAnalysisModel(), (PAResultsModel) model.getSimulationResults()));
          SHOW_RESULTS.setEnabled(true);
        } else {
          this.setResultsWindow(new ResultsWindow(model.getSimulationResults()));
          SHOW_RESULTS.setEnabled(true);
        }
      }
      model.resetSaveState();
      System.gc();
View Full Code Here

    Dispatcher_jSIMschema simulator = new Dispatcher_jSIMschema("" + path + filename);
    simulator.solveModel();
    String resfilename = path + "res_sim_" + filename + ".xml";
    StoredResultsModel srm = new StoredResultsModel();
    XMLResultsReader.parseXML(XMLReader.loadXML(resfilename), srm);
    ResultsWindow res = new ResultsWindow(srm);
    res.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    res.show();
  }
View Full Code Here

      if (model.containsSimulationResults()) {
        if (model.isParametricAnalysisEnabled()) {
          this.setResultsWindow(new PAResultsWindow(model.getParametricAnalysisModel(), (PAResultsModel) model.getSimulationResults()));
          showResults.setEnabled(true);
        } else {
          this.setResultsWindow(new ResultsWindow(model.getSimulationResults()));
          showResults.setEnabled(true);
        }
      }
      model.resetSaveState();
      System.gc();
View Full Code Here

TOP

Related Classes of jmt.gui.common.panels.ResultsWindow$MeasurePanel

Copyright © 2018 www.massapicom. 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.