/** {@inheritDoc} */
@RunsInEDT
@Override
public @Nonnull JOptionPaneFixture optionPane(@Nonnull Timeout timeout) {
TypeMatcher matcher = new TypeMatcher(JOptionPane.class, requireShowing());
String description = "option pane to be found using matcher " + matcher;
ComponentFoundCondition condition = new ComponentFoundCondition(description, robot().finder(), matcher);
pause(condition, timeout);
JOptionPane optionPane = (JOptionPane) condition.found();
return new JOptionPaneFixture(robot(), checkNotNull(optionPane));