public static void main(String[] args) {
JFrame window = new JFrame();
DrawSemaphore panel = new DrawSemaphore();
Semaphore semaphore = new Semaphore();
semaphore.addObserver(panel);
JButton button = new JButton("Placebo");
button.setLocation(20, 200);
button.addActionListener(new ButtonEventHandler(semaphore));
panel.add(button);