|
|
@ -107,10 +107,10 @@ public class CellPanel extends javax.swing.JPanel implements ActionListener, Cha
|
|
|
|
//g.setColor(t.getColor());
|
|
|
|
//g.setColor(t.getColor());
|
|
|
|
g.fillOval(t.getX(), t.getY(), 50, 50);
|
|
|
|
g.fillOval(t.getX(), t.getY(), 50, 50);
|
|
|
|
} else*/
|
|
|
|
} else*/
|
|
|
|
if (draw || cells.size() > 10000000) {
|
|
|
|
//if (draw || cells.size() > 10000000) {
|
|
|
|
g.drawImage(t.getImage(), t.getX(), t.getY(), this);
|
|
|
|
g.drawImage(t.getImage(), t.getX(), t.getY(), this);
|
|
|
|
swingTimer.stop();
|
|
|
|
//swingTimer.stop();
|
|
|
|
}
|
|
|
|
//}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
jLabel1.setText("Delay: " + delay + "ms. Hours since start: " + count + ". Cell Count: " + cells.size());
|
|
|
|
jLabel1.setText("Delay: " + delay + "ms. Hours since start: " + count + ". Cell Count: " + cells.size());
|
|
|
|