public void removeTextFileListener(TextFileEventListener listener) {
listeners.removeElement(listener);
}
public void notifyTextFileListeners(String row, int rowNum) {
TextFileEvent event = new TextFileEvent(this,row,rowNum);
for (int i=0;i<listeners.size();i++) {
((TextFileEventListener)listeners.elementAt(i)).rowSelected(event);
}
}