Ejemplo n.º 1
0
 //
 // Action When "Run" is pressed,
 //
 @Override
 public void handle(ActionEvent e) {
   // String currentText = textStatus.getText();
   // textStatus.setText(currentText + ", Run button pressed, more text wider than normal to
   // see if the text box will wrap>>>");
   YearData[] yd = MU.runMultiYearModel(30);
   for (int i = 0; i < yd.length; i++) {
     // Print out a result
     String msg = yd[i].toString();
     textStatus.appendText(msg + "\n");
   }
   tableV.setItems(MU.modelDataList);
 }