19 package org.sleuthkit.autopsy.casemodule;
21 import java.awt.Dialog;
22 import javax.swing.JDialog;
23 import org.openide.util.NbBundle;
24 import org.openide.windows.WindowManager;
29 final class OpenMultiUserCaseDialog
extends JDialog {
31 private static final long serialVersionUID = 1L;
32 private static OpenMultiUserCaseDialog instance;
33 private static OpenMultiUserCasePanel multiUserCasesPanel;
40 public synchronized static OpenMultiUserCaseDialog getInstance() {
41 if (instance == null) {
42 instance =
new OpenMultiUserCaseDialog();
53 "OpenMultiUserCaseDialog.title=Open Multi-User Case"
55 private OpenMultiUserCaseDialog() {
56 super(WindowManager.getDefault().getMainWindow(), Bundle.OpenMultiUserCaseDialog_title(), Dialog.ModalityType.APPLICATION_MODAL);
64 multiUserCasesPanel =
new OpenMultiUserCasePanel(
this);
65 add(multiUserCasesPanel);
77 public void setVisible(
boolean makeVisible) {
79 multiUserCasesPanel.refreshDisplay();
81 super.setVisible(makeVisible);