From ecef45e984ff29edda47f2302a6b3750edb1264c Mon Sep 17 00:00:00 2001 From: Richard Cordovano Date: Wed, 4 Sep 2013 15:29:23 -0400 Subject: [PATCH] Synchronize access to DataContentViewerArtifact.setDataView() --- .../autopsy/corecomponents/DataContentViewerArtifact.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/corecomponents/DataContentViewerArtifact.java b/Core/src/org/sleuthkit/autopsy/corecomponents/DataContentViewerArtifact.java index e142dd8ce7..a218917db2 100644 --- a/Core/src/org/sleuthkit/autopsy/corecomponents/DataContentViewerArtifact.java +++ b/Core/src/org/sleuthkit/autopsy/corecomponents/DataContentViewerArtifact.java @@ -390,7 +390,7 @@ public class DataContentViewerArtifact extends javax.swing.JPanel implements Dat * @param artifacts List of artifacts that could be displayed * @param offset Index into the list for the artifact to display */ - private void setDataView(int offset) { + private synchronized void setDataView(int offset) { this.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); outputViewPane.setText(WAIT_TEXT);