File -> Run now starts the simmulation
This commit is contained in:
parent
a20bb4d86d
commit
d9c7dac38f
@ -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();
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user