tabbedPane.addTab(view.getTitle(), view.getIcon(), view);
view.applyViewDividerLocation();
}
}
ChartPanel chartPanel = DcModules.getCurrent().isAbstract() ? null : DcModules.getCurrent().getChartPanel(true);
if (chartPanel != null) {
if (chartPanel.isSupported())
tabbedPane.addTab(chartPanel.getTitle(), chartPanel.getIcon(), chartPanel);
else
chartPanel.clear();
}
} catch (Exception e) {
logger.error("An error occurred while appending items to the view(s)", e);
}