// 'cancel' TODO: mock should be OK
if (!runThread)
{
- int answer = JvOptionPane.showOptionDialog(this,
-
+ int answer = JvOptionPane.showConfirmDialog(this,
MessageManager.formatMessage(
"label.fetch_references_for_3dbeacons",
seqsWithoutSourceDBRef.size()),
-
MessageManager.getString("label.3dbeacons"),
-
- JvOptionPane.YES_NO_OPTION,
-
- JvOptionPane.PLAIN_MESSAGE,
-
- null,
-
- new Object[]
- { MessageManager.getString("action.ok"),
- MessageManager.getString("action.cancel") },
-
- MessageManager.getString("action.ok")
-
- );
+ JvOptionPane.YES_NO_OPTION, JvOptionPane.PLAIN_MESSAGE);
runThread = (answer == JvOptionPane.OK_OPTION);
}
if (runThread)