[sleuthkit-users] Report Module - progressPanel issue
Brought to you by:
carrier
From: Christopher W. <ch...@cw...> - 2018-03-17 13:04:57
|
Hello, I'm currently creating a Report Module for Autopsy, which is nearly finished now, however for some reason I can't get the progressPanel to update a message which let's the user know what is happening, when it is happening. I have used the exact same method as shown in add hashes module: http://www.sleuthkit.org/autopsy/docs/api-docs/4.5.0/_add_tagged_hashes_to_hash_db_8java_source.html progressPanel.updateStatusLabel <http://www.sleuthkit.org/autopsy/docs/api-docs/4.5.0/classorg_1_1sleuthkit_1_1autopsy_1_1report_1_1_report_progress_panel.html#a2162ed8086014100811ef5b130fa13f8> ("Adding hashes..."); However - their writing shows up on the progress panel page, where as mine does not. These are the sum of my progressPanel statements in my generateReport method: progressPanel.setIndeterminate(false); progressPanel.start(); progressPanel.updateStatusLabel("Adding files..."); if (progressPanel.getStatus() == ReportProgressPanel.ReportStatus.CANCELED) { break; } progressPanel.setMaximumProgress(tags.size()); progressPanel.updateStatusLabel("Adding \"" + tagName.getDisplayName() + "\" files to " + configPanel.getSelectedDocumentName() + "..."); progressPanel.updateStatusLabel("Adding " + tag.getContent().getName() + " from \"" + tagName.getDisplayName() + "\" to " + configPanel.getSelectedDocumentName() + "..."); // Increment the progressPanel every time a file is processed progressPanel.increment(); progressPanel.complete(ReportProgressPanel.ReportStatus.COMPLETE); However not a single updateStatusLabel is showing when I generate a report. Note the bar itself is progressing as it should, everything compiles, runs, without errors, increments itself to completion after every file is processed, I have imported the reportProgressPanel from org.sleuthkit.autopsy.report.ReportProgressPanel - exactly the same as add tagged hashes to hash db report module. I have also tried compiling the module itself into a NBM, and then installing it through Autopsy - however still no updated status labels. Could I get your help? Cheers |