コード例 #1
0
  /** @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent) */
  public void actionPerformed(ActionEvent ae) {
    super.actionPerformed(ae);

    // stop/start creating more critics
    Designer d = Designer.theDesigner();
    boolean b = d.getAutoCritique();
    d.setAutoCritique(!b);

    // stop/start cleaning up invalid TodoItems.
    ToDoList.getInstance().setPaused(!ToDoList.getInstance().isPaused());
  }