From 7c7f01ebb764abebf62a1e07368fe4d39910d1f9 Mon Sep 17 00:00:00 2001 From: Richard Cordovano Date: Tue, 22 Apr 2014 10:24:00 -0400 Subject: [PATCH] Change presentation of module startup errors to message box --- Core/src/org/sleuthkit/autopsy/ingest/IngestManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/ingest/IngestManager.java b/Core/src/org/sleuthkit/autopsy/ingest/IngestManager.java index 1d0a35569a..489c3d9763 100644 --- a/Core/src/org/sleuthkit/autopsy/ingest/IngestManager.java +++ b/Core/src/org/sleuthkit/autopsy/ingest/IngestManager.java @@ -39,6 +39,7 @@ import org.sleuthkit.autopsy.coreutils.MessageNotifyUtil; import org.sleuthkit.datamodel.AbstractFile; import org.sleuthkit.datamodel.Content; import java.util.prefs.Preferences; +import javax.swing.JOptionPane; import javax.swing.SwingWorker; import org.sleuthkit.autopsy.ingest.IngestScheduler.FileIngestScheduler.FileIngestTask; @@ -415,7 +416,7 @@ public class IngestManager { notifyMessage.append("the data source and selecting Run Ingest Modules.\n\n"); notifyMessage.append("Errors\n\n: "); notifyMessage.append(errorMessages.toString()); - MessageNotifyUtil.Message.error(notifyMessage.toString()); + JOptionPane.showMessageDialog(null, notifyMessage.toString(), "Ingest Module Start Up Failed", JOptionPane.ERROR_MESSAGE); // Jettison the ingest job and move on to the next one. synchronized (IngestManager.this) {