// output dir is the directory containing XCAS files.
prefsMed.setOutputDir(inputDir.toString());
AnnotationViewerDialog viewerDialog = new AnnotationViewerDialog(this,
"Analyzed Documents", prefsMed, styleMapFile, null, cas.getTypeSystem(), null, false,
cas);
viewerDialog.pack();
viewerDialog.setModal(true);
viewerDialog.setVisible(true);
}
/**