}
public void actionPerformed(ActionEvent event) {
String title = this.main.getIndexLabel() + " - " + this.main.getIndex().getType().getName();
MultiAnnotViewerFrame f = new MultiAnnotViewerFrame(title);
f.addWindowListener(new CloseAnnotationViewHandler(this.main));
FSIterator it = this.main.getIndex().iterator();
final String text = this.main.getCas().getDocumentText();
System.out.println("Creating extents.");
AnnotationExtent[] extents = MultiMarkup.createAnnotationMarkups(it, text.length(), this.main
.getStyleMap());