assertTrue("Annotation should block execution while displaying",
ann.isRunning);
ComponentTester tester = new ComponentTester();
Component button =
getFinder().find(w, new ClassMatcher(JButton.class));
tester.actionClick(button);
// Give the annotation thread time to clean up
Timer timer = new Timer();
while (ann.isShowing()) {
getRobot().sleep();
if (timer.elapsed() > 1000)