void updateState(ExtractState es) {
        this.lblCurrentFile.setText(es.currentFile);
        
        this.pbProgress.setMaximum(es.totalNumFiles);
        this.pbProgress.setValue(es.filesDone);
        
        this.pbProgress.setString(String.format("%.2f", es.filesDone / (float) es.totalNumFiles * 100) + "%");
        
        if (es.filesDone == es.totalNumFiles) {
            // Inform callback
            if (this.doneCallback != null) {
                this.doneCallback.actionPerformed(null);
            }
            
            this.setVisible(false);
            this.dispose();
        }
    }