- updatingConservation = true;
- // javax.swing.SwingUtilities.invokeLater(new Runnable() { public void run() {
- while (conservationThread != null && conservationThread.isAlive())
- {
- try
- {
- // Thread.sleep(100);
- ap.repaint();
- }
- catch (Exception ex)
- {}
- }
- conservationThread = new ConservationThread(ap);
- conservationThread.start();
- // } });