1
0
mirror of https://github.com/elisspace/autopsy.git synced 2026-09-06 02:24:30 +00:00

Ensure ingest top component is initialized in AWT thread when Window systme is ready

This commit is contained in:
adam-m
2012-08-30 15:27:46 -04:00
parent d6c80811c1
commit 357d4e697d

View File

@@ -143,7 +143,8 @@ public class IngestManager {
DATA
};
//ui
private IngestUI ui = IngestMessageTopComponent.findInstance();
//Initialized by Installer in AWT thread once the Window System is ready
private IngestUI ui = null; //IngestMessageTopComponent.findInstance();
//singleton
private static IngestManager instance;
@@ -151,6 +152,9 @@ public class IngestManager {
imageIngesters = new ArrayList<IngestImageThread>();
}
/**
* called by Installer in AWT thread once the Window System is ready
*/
void initUI() {
if (ui == null) {
IngestMessageTopComponent.findInstance();