public void animate() { try { semaphore.acquire(); } catch (InterruptedException ex) { System.out.println(ex); } super.animate(); semaphore.release(); }
public void selectionner() { ArrayList<JJComponent> liste = new ArrayList<JJComponent>(); liste.add(this); ((PanelStructureCognitive) parent).appliquerTransparence(liste); }