public void play(ComponentFinder resolver) {
Rectangle bounds = state.getBounds();
if (bounds == null)
return;
EventQueueRunner eqRunner = new EventQueueRunner();
Window window = windowMonitor.getWindow(id.getTitle());
if (window instanceof JFrame) {
eqRunner.invoke(window, "setExtendedState", new Object[] { JFrame.NORMAL}, new Class[] {Integer.TYPE});
}
eqRunner.invoke(window, "setBounds", new Object[] { bounds }, new Class[] { Rectangle.class });
}