/**
   * Changes the cursor into a hand cursor if the table cell contains an HTML link.
   *
   * @param evt
   */
  private void proteinMatchTableMouseMoved(
      java.awt.event.MouseEvent evt) { // GEN-FIRST:event_proteinMatchTableMouseMoved
    int row = proteinMatchTable.rowAtPoint(evt.getPoint());
    int column = proteinMatchTable.columnAtPoint(evt.getPoint());

    proteinMatchTable.setToolTipText(null);

    if (column == 2 && proteinMatchTable.getValueAt(row, column) != null) {

      String tempValue = (String) proteinMatchTable.getValueAt(row, column);

      if (tempValue.lastIndexOf("<html>") != -1) {
        this.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
      } else {
        this.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
      }
    } else if (column == proteinMatchTable.getColumn("Description").getModelIndex()
        && proteinMatchTable.getValueAt(row, column) != null) {
      if (GuiUtilities.getPreferredWidthOfCell(proteinMatchTable, row, column)
          > proteinMatchTable.getColumn("Description").getWidth()) {
        proteinMatchTable.setToolTipText("" + proteinMatchTable.getValueAt(row, column));
      }
      this.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
    } else {
      this.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
    }
  } // GEN-LAST:event_proteinMatchTableMouseMoved
 /**
  * Creates a new GettingStartedDialog.
  *
  * @param peptideShakerGUI a reference to PeptideShakerGUI
  * @param welcomeDialog a reference to the WelcomeDialog, can be null
  * @param modal if the dialog is to be modal or not
  */
 public GettingStartedDialog(
     PeptideShakerGUI peptideShakerGUI, WelcomeDialog welcomeDialog, boolean modal) {
   super(peptideShakerGUI, modal);
   this.peptideShakerGUI = peptideShakerGUI;
   this.welcomeDialog = welcomeDialog;
   initComponents();
   setUpDisplayPanels();
   GuiUtilities.installEscapeCloseOperation(this);
   displayPanel.add(displayPanels.get(currentDisplayPanelIndex));
   nextButton.setEnabled(currentDisplayPanelIndex < displayPanels.size() - 1);
   backButton.setEnabled(currentDisplayPanelIndex > 0);
   setFocusable(true);
   backgroundPanel.requestFocus();
   setLocationRelativeTo(peptideShakerGUI);
   setVisible(true);
 }