{
//get the tab with this name and remove its contents
JPanel previewTab = getPreviewTab(tabName);
//get the single feature panel here
SingleFeaturePanel featurePanel = this.getVisualPanel(panelName);
//add this before we update the feature panel
previewTab.add(featurePanel);
//update the progress bar here
String updateString = "Drawing " + panelName + "...";
mMainScreen.updateProgressBar(updateString, featurePanel.getProgress());
//initialize the panel here
//System.out.println("about to call initialize..." + panelName);
featurePanel.initialize(featureFile, featureName);
//System.out.println("done initialize!");
featurePanel.updateData();
//repaint the feature panel after we add it
featurePanel.repaint();
//set us to be visible
mMainScreen.setVisualPreviewVisible(true);
}