File -> Run now starts the simmulation

This commit is contained in:
7u83 2017-01-22 09:47:51 +01:00
parent a20bb4d86d
commit d9c7dac38f
2 changed files with 4 additions and 4 deletions

View File

@ -209,7 +209,7 @@ public class MainWin extends javax.swing.JFrame {
}//GEN-LAST:event_jButton1ActionPerformed
private void FileRunActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_FileRunActionPerformed
// se.start();
se.timer.start();
}//GEN-LAST:event_FileRunActionPerformed
private void helpAboutActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_helpAboutActionPerformed
@ -233,7 +233,7 @@ public class MainWin extends javax.swing.JFrame {
public static void main(String args[]) {
se = new Exchange();
se.timer.start();
//se.timer.start();
//RandomTraderConfig rcfg = new RandomTraderConfig();

View File

@ -23,11 +23,11 @@ public class Exchange { //extends Thread {
public ArrayList <AutoTrader> traders = new ArrayList();
/**
*
* Implements a trading account
*/
public class Account implements Comparable {
private double id;
private final double id;
private double shares;
private double money;