Exemple #1
0
 /** Terminate the computation */
 public void stop() {
   removeMouseListener(mouseListener);
   mouseListener = null;
   model.stop();
 }
Exemple #2
0
 /**
  * Start the computation
  *
  * @throws Exception if an error happens while starting
  */
 public void start() throws Exception {
   model.start();
   mouseListener = new TreeMouseListener(this);
   addMouseListener(mouseListener);
 }