}
public void notify(Event event)
{
if (event.getClass().equals(OpenHistoryFileEvent.class)) {
OpenHistoryFileEvent historyEvent = (OpenHistoryFileEvent) event;
createScrollPane(historyEvent.getPresentationFile());
} else if (event.getClass().equals(OpenFileEvent.class)) {
OpenFileEvent openEvent = (OpenFileEvent) event;
createScrollPane(openEvent.getPresentationFile());
}
}