JScrollPaneOperator scrollOper = new JScrollPaneOperator((JScrollPane)conts[i]);
scrollOper.copyEnvironment(compOper);
scrollOper.setVisualizer(new EmptyVisualizer());
scroll(scrollOper, compOper.getSource());
} else if(switchTab && conts[i] instanceof JTabbedPane) {
JTabbedPaneOperator tabOper = new JTabbedPaneOperator((JTabbedPane)conts[i]);
tabOper.copyEnvironment(compOper);
tabOper.setVisualizer(new EmptyVisualizer());
switchTab(tabOper, i == 0 ? compOper.getSource() : conts[i - 1]);
}
}
} catch(TimeoutExpiredException e) {
JemmyProperties.getProperties().getOutput().printStackTrace(e);