All pastes #37300 Raw Edit

Unnamed

public java v1 · immutable
#37300 ·published 2006-01-18 22:02 UTC
rendered paste body
  private class Timer2Action implements ActionListener {    private int seconde = 5;    private Simulation1 sim1 = new Simulation1();    int nwWaarde;    public void actionPerformed(ActionEvent event) {      nwWaarde = sim1.geef_nieuwe_waarde(seconde);      if (thermostaat.is_cv_aan()) {        nwWaarde = nwWaarde - 2;        System.out.println("    cv correctie");        System.out.println("      nwWaarde: " + nwWaarde);      }            thermostaat.zet_huidige_temp(nwWaarde);      repaint();      //System.out.println("seconde: " + seconde + "temp: " + thermostaat.geef_huidige_temp());      seconde++;    }  }