String startupVisualizer =
JMeterUtils.getPropDefault("startup.action",".");
int count = 0;
for (Enumeration e = a.elements(); e.hasMoreElements();) {
Visualizer visualizer = (Visualizer) e.nextElement();
subPanel.add(visualizer.getControlPanel(), visualizer.toString());
if ( startupVisualizer
.equalsIgnoreCase(visualizer.getClass().getName()) ) {
System.out.println("### Setting Visualizer="+startupVisualizer);
visualizerList.setSelectedIndex(count);
}
++count;
}