mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Merge branch 'develop' into 8038-fix-RA-domain-name-usage
This commit is contained in:
commit
b9dc03094e
@ -30,6 +30,7 @@ import java.util.concurrent.CancellationException;
|
|||||||
import java.util.concurrent.ExecutionException;
|
import java.util.concurrent.ExecutionException;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
import javax.swing.JOptionPane;
|
import javax.swing.JOptionPane;
|
||||||
|
import javax.swing.SwingUtilities;
|
||||||
import javax.swing.SwingWorker;
|
import javax.swing.SwingWorker;
|
||||||
import javax.swing.event.ListSelectionEvent;
|
import javax.swing.event.ListSelectionEvent;
|
||||||
import javax.swing.table.AbstractTableModel;
|
import javax.swing.table.AbstractTableModel;
|
||||||
@ -125,12 +126,15 @@ public final class IngestJobInfoPanel extends javax.swing.JPanel {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.ingestJobTableModel = new IngestJobTableModel();
|
this.ingestJobTableModel = new IngestJobTableModel();
|
||||||
|
|
||||||
|
SwingUtilities.invokeLater(() -> {
|
||||||
this.ingestJobTable.setModel(ingestJobTableModel);
|
this.ingestJobTable.setModel(ingestJobTableModel);
|
||||||
//if there were ingest jobs select the first one by default
|
//if there were ingest jobs select the first one by default
|
||||||
if (!ingestJobsForSelectedDataSource.isEmpty()) {
|
if (!ingestJobsForSelectedDataSource.isEmpty()) {
|
||||||
ingestJobTable.setRowSelectionInterval(0, 0);
|
ingestJobTable.setRowSelectionInterval(0, 0);
|
||||||
}
|
}
|
||||||
this.repaint();
|
this.repaint();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -168,7 +172,7 @@ public final class IngestJobInfoPanel extends javax.swing.JPanel {
|
|||||||
}
|
}
|
||||||
} catch (InterruptedException | ExecutionException ex) {
|
} catch (InterruptedException | ExecutionException ex) {
|
||||||
logger.log(Level.WARNING, "Error getting results from Ingest Job Info Panel's refresh worker", ex);
|
logger.log(Level.WARNING, "Error getting results from Ingest Job Info Panel's refresh worker", ex);
|
||||||
} catch (CancellationException ignored){
|
} catch (CancellationException ignored) {
|
||||||
logger.log(Level.INFO, "The refreshing of the IngestJobInfoPanel was cancelled");
|
logger.log(Level.INFO, "The refreshing of the IngestJobInfoPanel was cancelled");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user