throw resultFuture.getErrors().get(0);
}
List<AnalyzerResult> list = Collections.emptyList();
RendererFactory rendererFactory = new RendererFactory(conf.getDescriptorProvider(), null);
DetailsResultWindow window = new DetailsResultWindow("Example", list, new DCWindowContext(conf,
UserPreferences.getInstance()), rendererFactory);
window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
List<AnalyzerResult> results = resultFuture.getResults();
for (AnalyzerResult analyzerResult : results) {
JComponent renderedResult = new DateGapAnalyzerResultSwingRenderer()
.render((DateGapAnalyzerResult) analyzerResult);
window.addRenderedResult(renderedResult);
}
window.repaint();
window.setPreferredSize(new Dimension(800, 600));
window.setVisible(true);
}