private void gotoButtonActionPerformed(
     java.awt.event.ActionEvent evt) { // GEN-FIRST:event_gotoButtonActionPerformed
   // TODO add your handling code here:
   if (bookmarksList.getSelectedIndex() < 0) return;
   EventSearchResult evr = new EventSearchResult();
   evr.tierName = "###TIMELINE###";
   TimelineItem tli = (TimelineItem) (allBookmarks.elementAt(bookmarksList.getSelectedIndex()));
   evr.tierID = tli.getID();
   fireSearchResult(evr);
 } // GEN-LAST:event_gotoButtonActionPerformed
 /** Creates new form BookmarksDialog */
 public BookmarksDialog(java.awt.Frame parent, boolean modal, Timeline tl) {
   super(parent, modal);
   timeline = tl;
   initComponents();
   allBookmarks = tl.getAllBookmarks();
   for (int pos = 0; pos < allBookmarks.size(); pos++) {
     TimelineItem tli = (TimelineItem) (allBookmarks.elementAt(pos));
     bookmarksListModel.addElement(tli.getBookmark());
   }
   bookmarksList.setModel(bookmarksListModel);
   if (allBookmarks.size() > 0) {
     bookmarksList.setSelectedIndex(0);
   }
   Internationalizer.internationalizeDialogToolTips(this);
 }