NotifyAll

This commit is contained in:
vraskulin 2017-03-20 15:17:30 +03:00
parent f37c823aa8
commit c783614cba
3 changed files with 9 additions and 9 deletions

View file

@ -24,7 +24,7 @@ public class DelayedViewerThread extends Thread {
public synchronized void show(Component component, long delay) {
delayedViewers.put(component, System.currentTimeMillis() + delay);
notify();
notifyAll();
}
public synchronized void hide(Component component) {