/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2)
- * Copyright (C) 2015 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
import jalview.gui.AlignmentPanel;
import jalview.gui.CutAndPasteTransfer;
import jalview.gui.Desktop;
+import jalview.gui.JvOptionPane;
import jalview.util.MessageManager;
import java.util.ArrayList;
import java.util.Vector;
import javax.swing.ImageIcon;
-import javax.swing.JOptionPane;
import uk.ac.ebi.www.Data;
import uk.ac.ebi.www.InputParams;
{
// This must be outside the run() body as java 1.5
// will not return any value from the OptionPane to the expired thread.
- int reply = JOptionPane.showConfirmDialog(Desktop.desktop,
+ int reply = JvOptionPane.showConfirmDialog(Desktop.desktop,
"Automatically update suggested ids?",
- "Auto replace sequence ids", JOptionPane.YES_NO_OPTION);
+ "Auto replace sequence ids", JvOptionPane.YES_NO_OPTION);
- if (reply == JOptionPane.YES_OPTION)
+ if (reply == JvOptionPane.YES_OPTION)
{
Enumeration keys = suggestedIds.elements();
while (keys.hasMoreElements())
}
}
+ @Override
public void run()
{
while (jobsRunning > 0)
this.sequence = sequence;
}
+ @Override
public void run()
{
StartJob();