List<FSNode> annots = ((FSTreeModel) this.fsTree.getModel()).getFSs();
ArrayList<FSNode> selAnnots = getAnnotationsAtPos(pos, annots);
for (int i = 0; i < selAnnots.size(); i++) {
posAnnot = selAnnots.get(i);
item = new JMenuItem("[" + posAnnot.getArrayPos() + "] = " + posAnnot.getType().getName());
item.addActionListener(new PopupHandler(this, posAnnot.getArrayPos()));
this.textPopup.add(item);
}
}
this.textPopup.show(this.textArea, x, y);
}