package lectures.animation.threads.wait_notify;
import util.annotations.WebDocuments;
import util.annotations.ComponentWidth;
import util.annotations.Row;
import bus.uigen.ObjectEditor;
@WebDocuments({"Lectures/AnimationThreadsWaitNotify.pptx", "Lectures/AnimationThreadsWaitNotify.pdf", "Videos/AnimationThreadsWaitNotify.avi"})
public class AClearanceManager implements ClearanceManager {
@Row(0)
@ComponentWidth(100)
public synchronized void proceed() {
notify();
}
public synchronized void waitForProceed() {
try {
wait();
} catch (Exception e) {
e.printStackTrace();
}
}
public static void main(String[] args) {
ObjectEditor.edit(new AClearanceManager());
}
}