mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
Initial code, use setVisible
This commit is contained in:
parent
f2386c8a88
commit
a652fda0de
@ -238,13 +238,9 @@ OpenMultiUserCasePanel.cancelButton.text=Cancel
|
|||||||
OpenMultiUserCasePanel.openSingleUserCaseButton.text=Open Single-User Case...
|
OpenMultiUserCasePanel.openSingleUserCaseButton.text=Open Single-User Case...
|
||||||
OpenMultiUserCasePanel.openSelectedCaseButton.text=Open Selected Case
|
OpenMultiUserCasePanel.openSelectedCaseButton.text=Open Selected Case
|
||||||
OpenMultiUserCasePanel.searchLabel.text=Select any case and start typing to search by case name
|
OpenMultiUserCasePanel.searchLabel.text=Select any case and start typing to search by case name
|
||||||
LogicalImagerPanel.jLabel1.text=Insert external drive
|
|
||||||
LogicalImagerPanel.scanButton.text=Scan
|
|
||||||
LogicalImagerPanel.jLabel6.text=Or, pick a Logical Imager folder
|
|
||||||
LogicalImagerPanel.browseButton.text=Browse
|
LogicalImagerPanel.browseButton.text=Browse
|
||||||
LogicalImagerPanel.topLabel.text=Import Autopsy Imager Results
|
|
||||||
LogicalImagerPanel.selectDriveLabel.text=Select Drive
|
LogicalImagerPanel.selectDriveLabel.text=Select Drive
|
||||||
LogicalImagerPanel.messageLabel.text=Error/Status message
|
LogicalImagerPanel.messageLabel.text=
|
||||||
UnpackagePortableCaseDialog.desc2Label.text=Portable Case Report Module.
|
UnpackagePortableCaseDialog.desc2Label.text=Portable Case Report Module.
|
||||||
UnpackagePortableCaseDialog.desc1Label.text=Unpackage a portable case so it can be opened in Autopsy. Portable cases are created through the
|
UnpackagePortableCaseDialog.desc1Label.text=Unpackage a portable case so it can be opened in Autopsy. Portable cases are created through the
|
||||||
UnpackagePortableCaseDialog.exitButton.text=Exit
|
UnpackagePortableCaseDialog.exitButton.text=Exit
|
||||||
@ -260,3 +256,9 @@ UnpackagePortableCaseProgressDialog.okButton.text=OK
|
|||||||
UnpackagePortableCaseProgressDialog.resultLabel.text=resultLabel
|
UnpackagePortableCaseProgressDialog.resultLabel.text=resultLabel
|
||||||
UnpackagePortableCaseDialog.extractLabel.text=Folder to extract to:
|
UnpackagePortableCaseDialog.extractLabel.text=Folder to extract to:
|
||||||
UnpackagePortableCaseDialog.caseLabel.text=Portable Case:
|
UnpackagePortableCaseDialog.caseLabel.text=Portable Case:
|
||||||
|
LogicalImagerPanel.importRadioButton.text=Import From External Drive
|
||||||
|
LogicalImagerPanel.manualRadioButton.text=Manually Choose Folder
|
||||||
|
LogicalImagerPanel.refreshButton.text=Refresh
|
||||||
|
LogicalImagerPanel.selectFromDriveLabel.text=Select Acquisition From Drive
|
||||||
|
LogicalImagerPanel.importRadioButton.toolTipText=
|
||||||
|
LogicalImagerPanel.pathTextField.text=
|
||||||
|
@ -191,7 +191,6 @@ LogicalImagerDSProcessor.failToCreateDirectory=Failed to create directory {0}
|
|||||||
LogicalImagerDSProcessor.imageDirPathNotFound={0} not found.\nUSB drive has been ejected.
|
LogicalImagerDSProcessor.imageDirPathNotFound={0} not found.\nUSB drive has been ejected.
|
||||||
LogicalImagerPanel.imageTable.columnModel.title0=Hostname
|
LogicalImagerPanel.imageTable.columnModel.title0=Hostname
|
||||||
LogicalImagerPanel.imageTable.columnModel.title1=Extracted Date
|
LogicalImagerPanel.imageTable.columnModel.title1=Extracted Date
|
||||||
LogicalImagerPanel.messageLabel.clickScanOrBrowse=Click SCAN or BROWSE button to find images
|
|
||||||
# {0} - sparseImageDirectory
|
# {0} - sparseImageDirectory
|
||||||
# {1} - image
|
# {1} - image
|
||||||
LogicalImagerPanel.messageLabel.directoryDoesNotContainSparseImage=Directory {0} does not contain {1}
|
LogicalImagerPanel.messageLabel.directoryDoesNotContainSparseImage=Directory {0} does not contain {1}
|
||||||
@ -475,13 +474,9 @@ OpenMultiUserCasePanel.cancelButton.text=Cancel
|
|||||||
OpenMultiUserCasePanel.openSingleUserCaseButton.text=Open Single-User Case...
|
OpenMultiUserCasePanel.openSingleUserCaseButton.text=Open Single-User Case...
|
||||||
OpenMultiUserCasePanel.openSelectedCaseButton.text=Open Selected Case
|
OpenMultiUserCasePanel.openSelectedCaseButton.text=Open Selected Case
|
||||||
OpenMultiUserCasePanel.searchLabel.text=Select any case and start typing to search by case name
|
OpenMultiUserCasePanel.searchLabel.text=Select any case and start typing to search by case name
|
||||||
LogicalImagerPanel.jLabel1.text=Insert external drive
|
|
||||||
LogicalImagerPanel.scanButton.text=Scan
|
|
||||||
LogicalImagerPanel.jLabel6.text=Or, pick a Logical Imager folder
|
|
||||||
LogicalImagerPanel.browseButton.text=Browse
|
LogicalImagerPanel.browseButton.text=Browse
|
||||||
LogicalImagerPanel.topLabel.text=Import Autopsy Imager Results
|
|
||||||
LogicalImagerPanel.selectDriveLabel.text=Select Drive
|
LogicalImagerPanel.selectDriveLabel.text=Select Drive
|
||||||
LogicalImagerPanel.messageLabel.text=Error/Status message
|
LogicalImagerPanel.messageLabel.text=Error message
|
||||||
UnpackagePortableCaseDialog.desc2Label.text=Portable Case Report Module.
|
UnpackagePortableCaseDialog.desc2Label.text=Portable Case Report Module.
|
||||||
UnpackagePortableCaseDialog.desc1Label.text=Unpackage a portable case so it can be opened in Autopsy. Portable cases are created through the
|
UnpackagePortableCaseDialog.desc1Label.text=Unpackage a portable case so it can be opened in Autopsy. Portable cases are created through the
|
||||||
UnpackagePortableCaseDialog.exitButton.text=Exit
|
UnpackagePortableCaseDialog.exitButton.text=Exit
|
||||||
@ -497,3 +492,9 @@ UnpackagePortableCaseProgressDialog.okButton.text=OK
|
|||||||
UnpackagePortableCaseProgressDialog.resultLabel.text=resultLabel
|
UnpackagePortableCaseProgressDialog.resultLabel.text=resultLabel
|
||||||
UnpackagePortableCaseDialog.extractLabel.text=Folder to extract to:
|
UnpackagePortableCaseDialog.extractLabel.text=Folder to extract to:
|
||||||
UnpackagePortableCaseDialog.caseLabel.text=Portable Case:
|
UnpackagePortableCaseDialog.caseLabel.text=Portable Case:
|
||||||
|
LogicalImagerPanel.importRadioButton.text=Import From External Drive
|
||||||
|
LogicalImagerPanel.manualRadioButton.text=Manually Choose Folder
|
||||||
|
LogicalImagerPanel.refreshButton.text=Refresh
|
||||||
|
LogicalImagerPanel.selectFromDriveLabel.text=Select Acquisition From Drive
|
||||||
|
LogicalImagerPanel.importRadioButton.toolTipText=
|
||||||
|
LogicalImagerPanel.pathTextField.text=
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
|
||||||
<Form version="1.6" maxVersion="1.8" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
|
<Form version="1.6" maxVersion="1.8" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
|
||||||
|
<NonVisualComponents>
|
||||||
|
<Component class="javax.swing.ButtonGroup" name="buttonGroup1">
|
||||||
|
</Component>
|
||||||
|
</NonVisualComponents>
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||||
<Dimension value="[0, 65]"/>
|
<Dimension value="[0, 65]"/>
|
||||||
@ -24,52 +28,31 @@
|
|||||||
<Layout>
|
<Layout>
|
||||||
<DimensionLayout dim="0">
|
<DimensionLayout dim="0">
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Group type="102" attributes="0">
|
|
||||||
<EmptySpace min="-2" pref="238" max="-2" attributes="0"/>
|
|
||||||
<Component id="topLabel" min="-2" pref="163" max="-2" attributes="0"/>
|
|
||||||
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
<Group type="102" alignment="0" attributes="0">
|
<Group type="102" alignment="0" attributes="0">
|
||||||
<EmptySpace min="-2" pref="28" max="-2" attributes="0"/>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Component id="messageLabel" alignment="1" max="32767" attributes="0"/>
|
|
||||||
<Group type="102" alignment="0" attributes="0">
|
<Group type="102" alignment="0" attributes="0">
|
||||||
<Group type="103" groupAlignment="1" max="-2" attributes="0">
|
<EmptySpace min="21" pref="21" max="-2" attributes="0"/>
|
||||||
<Component id="jSeparator1" alignment="0" max="32767" attributes="0"/>
|
<Component id="importPanel" min="-2" max="-2" attributes="0"/>
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<EmptySpace pref="25" max="32767" attributes="0"/>
|
||||||
<Group type="102" alignment="0" attributes="0">
|
</Group>
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="102" attributes="0">
|
||||||
<Group type="102" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Component id="selectDriveLabel" min="-2" max="-2" attributes="0"/>
|
<Component id="pathTextField" alignment="0" max="32767" attributes="0"/>
|
||||||
<EmptySpace min="-2" pref="289" max="-2" attributes="0"/>
|
<Component id="messageLabel" alignment="0" max="32767" attributes="0"/>
|
||||||
</Group>
|
<Group type="102" attributes="0">
|
||||||
<Group type="102" alignment="1" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Component id="scanButton" min="-2" max="-2" attributes="0"/>
|
<Group type="102" alignment="0" attributes="0">
|
||||||
<EmptySpace min="-2" pref="126" max="-2" attributes="0"/>
|
<Component id="manualRadioButton" min="-2" max="-2" attributes="0"/>
|
||||||
</Group>
|
<EmptySpace max="-2" attributes="0"/>
|
||||||
|
<Component id="browseButton" min="-2" max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
<EmptySpace min="-2" pref="36" max="-2" attributes="0"/>
|
<Component id="importRadioButton" alignment="0" min="-2" max="-2" attributes="0"/>
|
||||||
<Component id="browseButton" min="-2" max="-2" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
<Group type="102" alignment="0" attributes="0">
|
|
||||||
<Component id="driveListScrollPane" min="-2" pref="211" max="-2" attributes="0"/>
|
|
||||||
<EmptySpace min="-2" pref="28" max="-2" attributes="0"/>
|
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
|
||||||
<Component id="selectAcquisitionFromDriveLabel" min="-2" pref="305" max="-2" attributes="0"/>
|
|
||||||
<Component id="imageScrollPane" min="-2" pref="346" max="-2" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
</Group>
|
|
||||||
<Group type="102" alignment="0" attributes="0">
|
|
||||||
<EmptySpace min="-2" pref="346" max="-2" attributes="0"/>
|
|
||||||
<Component id="jLabel6" min="-2" pref="154" max="-2" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
<Group type="102" alignment="0" attributes="0">
|
|
||||||
<EmptySpace min="-2" pref="144" max="-2" attributes="0"/>
|
|
||||||
<Component id="jLabel1" min="-2" pref="116" max="-2" attributes="0"/>
|
|
||||||
</Group>
|
</Group>
|
||||||
|
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
<EmptySpace pref="48" max="32767" attributes="0"/>
|
<EmptySpace max="32767" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
@ -78,159 +61,212 @@
|
|||||||
<DimensionLayout dim="1">
|
<DimensionLayout dim="1">
|
||||||
<Group type="103" groupAlignment="0" attributes="0">
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
<Group type="102" alignment="0" attributes="0">
|
<Group type="102" alignment="0" attributes="0">
|
||||||
<Component id="topLabel" min="-2" max="-2" attributes="0"/>
|
<EmptySpace min="-2" pref="16" max="-2" attributes="0"/>
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
<Component id="importRadioButton" min="-2" max="-2" attributes="0"/>
|
||||||
|
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
||||||
|
<Component id="importPanel" min="-2" max="-2" attributes="0"/>
|
||||||
|
<EmptySpace pref="46" max="32767" attributes="0"/>
|
||||||
<Group type="103" groupAlignment="3" attributes="0">
|
<Group type="103" groupAlignment="3" attributes="0">
|
||||||
<Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
||||||
<Component id="jLabel6" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
<EmptySpace max="-2" attributes="0"/>
|
|
||||||
<Group type="103" groupAlignment="3" attributes="0">
|
|
||||||
<Component id="scanButton" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
||||||
<Component id="browseButton" alignment="3" min="-2" max="-2" attributes="0"/>
|
<Component id="browseButton" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||||
|
<Component id="manualRadioButton" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
<EmptySpace min="-2" pref="11" max="-2" attributes="0"/>
|
||||||
<Component id="jSeparator1" min="-2" pref="4" max="-2" attributes="0"/>
|
<Component id="pathTextField" min="-2" max="-2" attributes="0"/>
|
||||||
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
<EmptySpace min="-2" max="-2" attributes="0"/>
|
||||||
<Group type="103" groupAlignment="3" attributes="0">
|
|
||||||
<Component id="selectDriveLabel" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
||||||
<Component id="selectAcquisitionFromDriveLabel" alignment="3" min="-2" max="-2" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
<EmptySpace max="32767" attributes="0"/>
|
|
||||||
<Group type="103" groupAlignment="0" max="-2" attributes="0">
|
|
||||||
<Component id="imageScrollPane" pref="0" max="32767" attributes="0"/>
|
|
||||||
<Component id="driveListScrollPane" pref="194" max="32767" attributes="0"/>
|
|
||||||
</Group>
|
|
||||||
<EmptySpace min="-2" pref="26" max="-2" attributes="0"/>
|
|
||||||
<Component id="messageLabel" min="-2" max="-2" attributes="0"/>
|
<Component id="messageLabel" min="-2" max="-2" attributes="0"/>
|
||||||
<EmptySpace min="-2" pref="154" max="-2" attributes="0"/>
|
<EmptySpace min="-2" max="-2" attributes="0"/>
|
||||||
</Group>
|
</Group>
|
||||||
</Group>
|
</Group>
|
||||||
</DimensionLayout>
|
</DimensionLayout>
|
||||||
</Layout>
|
</Layout>
|
||||||
<SubComponents>
|
<SubComponents>
|
||||||
<Component class="javax.swing.JLabel" name="topLabel">
|
|
||||||
<Properties>
|
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/casemodule/Bundle.properties" key="LogicalImagerPanel.topLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
||||||
</Property>
|
|
||||||
</Properties>
|
|
||||||
</Component>
|
|
||||||
<Component class="javax.swing.JLabel" name="jLabel1">
|
|
||||||
<Properties>
|
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/casemodule/Bundle.properties" key="LogicalImagerPanel.jLabel1.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
||||||
</Property>
|
|
||||||
</Properties>
|
|
||||||
</Component>
|
|
||||||
<Component class="javax.swing.JButton" name="scanButton">
|
|
||||||
<Properties>
|
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/casemodule/Bundle.properties" key="LogicalImagerPanel.scanButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
||||||
</Property>
|
|
||||||
</Properties>
|
|
||||||
<Events>
|
|
||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="scanButtonActionPerformed"/>
|
|
||||||
</Events>
|
|
||||||
</Component>
|
|
||||||
<Component class="javax.swing.JLabel" name="messageLabel">
|
<Component class="javax.swing.JLabel" name="messageLabel">
|
||||||
<Properties>
|
<Properties>
|
||||||
|
<Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
||||||
|
<Color blue="0" green="0" id="red" palette="1" red="ff" type="palette"/>
|
||||||
|
</Property>
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/casemodule/Bundle.properties" key="LogicalImagerPanel.messageLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
<ResourceString bundle="org/sleuthkit/autopsy/casemodule/Bundle.properties" key="LogicalImagerPanel.messageLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
</Component>
|
</Component>
|
||||||
<Component class="javax.swing.JLabel" name="selectDriveLabel">
|
|
||||||
<Properties>
|
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/casemodule/Bundle.properties" key="LogicalImagerPanel.selectDriveLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
||||||
</Property>
|
|
||||||
</Properties>
|
|
||||||
</Component>
|
|
||||||
<Container class="javax.swing.JScrollPane" name="driveListScrollPane">
|
|
||||||
<AuxValues>
|
|
||||||
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
|
|
||||||
</AuxValues>
|
|
||||||
|
|
||||||
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
|
|
||||||
<SubComponents>
|
|
||||||
<Component class="javax.swing.JList" name="driveList">
|
|
||||||
<Properties>
|
|
||||||
<Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.editors2.ListModelEditor">
|
|
||||||
<StringArray count="0"/>
|
|
||||||
</Property>
|
|
||||||
<Property name="selectionMode" type="int" value="0"/>
|
|
||||||
</Properties>
|
|
||||||
<Events>
|
|
||||||
<EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="driveListMouseClicked"/>
|
|
||||||
<EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="driveListKeyReleased"/>
|
|
||||||
</Events>
|
|
||||||
<AuxValues>
|
|
||||||
<AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/>
|
|
||||||
</AuxValues>
|
|
||||||
</Component>
|
|
||||||
</SubComponents>
|
|
||||||
</Container>
|
|
||||||
<Component class="javax.swing.JLabel" name="selectAcquisitionFromDriveLabel">
|
|
||||||
<Properties>
|
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/casemodule/Bundle.properties" key="LogicalImagerPanel.selectAcquisitionFromDriveLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
||||||
</Property>
|
|
||||||
</Properties>
|
|
||||||
</Component>
|
|
||||||
<Component class="javax.swing.JLabel" name="jLabel6">
|
|
||||||
<Properties>
|
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/casemodule/Bundle.properties" key="LogicalImagerPanel.jLabel6.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
|
||||||
</Property>
|
|
||||||
</Properties>
|
|
||||||
</Component>
|
|
||||||
<Component class="javax.swing.JButton" name="browseButton">
|
<Component class="javax.swing.JButton" name="browseButton">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
<ResourceString bundle="org/sleuthkit/autopsy/casemodule/Bundle.properties" key="LogicalImagerPanel.browseButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
<ResourceString bundle="org/sleuthkit/autopsy/casemodule/Bundle.properties" key="LogicalImagerPanel.browseButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
|
<Property name="enabled" type="boolean" value="false"/>
|
||||||
</Properties>
|
</Properties>
|
||||||
<Events>
|
<Events>
|
||||||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="browseButtonActionPerformed"/>
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="browseButtonActionPerformed"/>
|
||||||
</Events>
|
</Events>
|
||||||
</Component>
|
</Component>
|
||||||
<Container class="javax.swing.JScrollPane" name="imageScrollPane">
|
<Component class="javax.swing.JRadioButton" name="importRadioButton">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
<Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
|
||||||
<Dimension value="[346, 402]"/>
|
<ComponentRef name="buttonGroup1"/>
|
||||||
|
</Property>
|
||||||
|
<Property name="selected" type="boolean" value="true"/>
|
||||||
|
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
|
<ResourceString bundle="org/sleuthkit/autopsy/casemodule/Bundle.properties" key="LogicalImagerPanel.importRadioButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
|
</Property>
|
||||||
|
<Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
|
<ResourceString bundle="org/sleuthkit/autopsy/casemodule/Bundle.properties" key="LogicalImagerPanel.importRadioButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
</Properties>
|
</Properties>
|
||||||
|
<Events>
|
||||||
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="importRadioButtonActionPerformed"/>
|
||||||
|
</Events>
|
||||||
|
</Component>
|
||||||
|
<Component class="javax.swing.JRadioButton" name="manualRadioButton">
|
||||||
|
<Properties>
|
||||||
|
<Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
|
||||||
|
<ComponentRef name="buttonGroup1"/>
|
||||||
|
</Property>
|
||||||
|
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
|
<ResourceString bundle="org/sleuthkit/autopsy/casemodule/Bundle.properties" key="LogicalImagerPanel.manualRadioButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
|
</Property>
|
||||||
|
</Properties>
|
||||||
|
<Events>
|
||||||
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="manualRadioButtonActionPerformed"/>
|
||||||
|
</Events>
|
||||||
|
</Component>
|
||||||
|
<Component class="javax.swing.JTextField" name="pathTextField">
|
||||||
|
<Properties>
|
||||||
|
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
|
<ResourceString bundle="org/sleuthkit/autopsy/casemodule/Bundle.properties" key="LogicalImagerPanel.pathTextField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
|
</Property>
|
||||||
|
<Property name="enabled" type="boolean" value="false"/>
|
||||||
|
</Properties>
|
||||||
|
</Component>
|
||||||
|
<Container class="javax.swing.JPanel" name="importPanel">
|
||||||
|
|
||||||
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
|
<Layout>
|
||||||
|
<DimensionLayout dim="0">
|
||||||
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
|
<Group type="102" alignment="1" attributes="0">
|
||||||
|
<EmptySpace min="-2" pref="21" max="-2" attributes="0"/>
|
||||||
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
|
<Component id="selectDriveLabel" alignment="0" min="-2" max="-2" attributes="0"/>
|
||||||
|
<Group type="102" alignment="0" attributes="0">
|
||||||
|
<Group type="103" groupAlignment="2" attributes="0">
|
||||||
|
<Component id="driveListScrollPane" alignment="2" min="-2" pref="211" max="-2" attributes="0"/>
|
||||||
|
<Component id="refreshButton" alignment="2" min="-2" max="-2" attributes="0"/>
|
||||||
|
</Group>
|
||||||
|
<EmptySpace min="-2" pref="28" max="-2" attributes="0"/>
|
||||||
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
|
<Component id="selectFromDriveLabel" min="-2" pref="305" max="-2" attributes="0"/>
|
||||||
|
<Component id="imageScrollPane" min="-2" max="-2" attributes="0"/>
|
||||||
|
</Group>
|
||||||
|
</Group>
|
||||||
|
</Group>
|
||||||
|
<EmptySpace pref="12" max="32767" attributes="0"/>
|
||||||
|
</Group>
|
||||||
|
</Group>
|
||||||
|
</DimensionLayout>
|
||||||
|
<DimensionLayout dim="1">
|
||||||
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
|
<Group type="102" alignment="0" attributes="0">
|
||||||
|
<Group type="103" groupAlignment="3" attributes="0">
|
||||||
|
<Component id="selectDriveLabel" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||||
|
<Component id="selectFromDriveLabel" alignment="3" min="-2" max="-2" attributes="0"/>
|
||||||
|
</Group>
|
||||||
|
<EmptySpace min="-2" max="-2" attributes="0"/>
|
||||||
|
<Group type="103" groupAlignment="0" attributes="0">
|
||||||
|
<Component id="imageScrollPane" pref="0" max="32767" attributes="0"/>
|
||||||
|
<Component id="driveListScrollPane" pref="146" max="32767" attributes="0"/>
|
||||||
|
</Group>
|
||||||
|
<EmptySpace type="unrelated" max="-2" attributes="0"/>
|
||||||
|
<Component id="refreshButton" min="-2" max="-2" attributes="0"/>
|
||||||
|
</Group>
|
||||||
|
</Group>
|
||||||
|
</DimensionLayout>
|
||||||
|
</Layout>
|
||||||
<SubComponents>
|
<SubComponents>
|
||||||
<Component class="javax.swing.JTable" name="imageTable">
|
<Component class="javax.swing.JLabel" name="selectDriveLabel">
|
||||||
<Properties>
|
<Properties>
|
||||||
<Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor">
|
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
<Table columnCount="0" rowCount="0"/>
|
<ResourceString bundle="org/sleuthkit/autopsy/casemodule/Bundle.properties" key="LogicalImagerPanel.selectDriveLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="autoResizeMode" type="int" value="0"/>
|
</Properties>
|
||||||
<Property name="columnModel" type="javax.swing.table.TableColumnModel" editor="org.netbeans.modules.form.editors2.TableColumnModelEditor">
|
</Component>
|
||||||
<TableColumnModel selectionModel="1"/>
|
<Container class="javax.swing.JScrollPane" name="driveListScrollPane">
|
||||||
|
<AuxValues>
|
||||||
|
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
|
||||||
|
</AuxValues>
|
||||||
|
|
||||||
|
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
|
||||||
|
<SubComponents>
|
||||||
|
<Component class="javax.swing.JList" name="driveList">
|
||||||
|
<Properties>
|
||||||
|
<Property name="model" type="javax.swing.ListModel" editor="org.netbeans.modules.form.editors2.ListModelEditor">
|
||||||
|
<StringArray count="0"/>
|
||||||
|
</Property>
|
||||||
|
<Property name="selectionMode" type="int" value="0"/>
|
||||||
|
</Properties>
|
||||||
|
<Events>
|
||||||
|
<EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="driveListMouseClicked"/>
|
||||||
|
<EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="driveListKeyReleased"/>
|
||||||
|
</Events>
|
||||||
|
<AuxValues>
|
||||||
|
<AuxValue name="JavaCodeGenerator_TypeParameters" type="java.lang.String" value="<String>"/>
|
||||||
|
</AuxValues>
|
||||||
|
</Component>
|
||||||
|
</SubComponents>
|
||||||
|
</Container>
|
||||||
|
<Component class="javax.swing.JButton" name="refreshButton">
|
||||||
|
<Properties>
|
||||||
|
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
|
<ResourceString bundle="org/sleuthkit/autopsy/casemodule/Bundle.properties" key="LogicalImagerPanel.refreshButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
</Property>
|
</Property>
|
||||||
<Property name="selectionModel" type="javax.swing.ListSelectionModel" editor="org.netbeans.modules.form.editors2.JTableSelectionModelEditor">
|
|
||||||
<JTableSelectionModel selectionMode="0"/>
|
|
||||||
</Property>
|
|
||||||
<Property name="showHorizontalLines" type="boolean" value="false"/>
|
|
||||||
<Property name="showVerticalLines" type="boolean" value="false"/>
|
|
||||||
<Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor">
|
|
||||||
<TableHeader reorderingAllowed="false" resizingAllowed="true"/>
|
|
||||||
</Property>
|
|
||||||
<Property name="updateSelectionOnSort" type="boolean" value="false"/>
|
|
||||||
</Properties>
|
</Properties>
|
||||||
<Events>
|
<Events>
|
||||||
<EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="imageTableMouseClicked"/>
|
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="refreshButtonActionPerformed"/>
|
||||||
<EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="imageTableKeyReleased"/>
|
|
||||||
</Events>
|
</Events>
|
||||||
</Component>
|
</Component>
|
||||||
|
<Container class="javax.swing.JScrollPane" name="imageScrollPane">
|
||||||
|
<Properties>
|
||||||
|
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
|
||||||
|
<Dimension value="[346, 402]"/>
|
||||||
|
</Property>
|
||||||
|
</Properties>
|
||||||
|
|
||||||
|
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
|
||||||
|
<SubComponents>
|
||||||
|
<Component class="javax.swing.JTable" name="imageTable">
|
||||||
|
<Properties>
|
||||||
|
<Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor">
|
||||||
|
<Table columnCount="0" rowCount="0"/>
|
||||||
|
</Property>
|
||||||
|
<Property name="autoResizeMode" type="int" value="0"/>
|
||||||
|
<Property name="columnModel" type="javax.swing.table.TableColumnModel" editor="org.netbeans.modules.form.editors2.TableColumnModelEditor">
|
||||||
|
<TableColumnModel selectionModel="1"/>
|
||||||
|
</Property>
|
||||||
|
<Property name="selectionModel" type="javax.swing.ListSelectionModel" editor="org.netbeans.modules.form.editors2.JTableSelectionModelEditor">
|
||||||
|
<JTableSelectionModel selectionMode="0"/>
|
||||||
|
</Property>
|
||||||
|
<Property name="showHorizontalLines" type="boolean" value="false"/>
|
||||||
|
<Property name="showVerticalLines" type="boolean" value="false"/>
|
||||||
|
<Property name="tableHeader" type="javax.swing.table.JTableHeader" editor="org.netbeans.modules.form.editors2.JTableHeaderEditor">
|
||||||
|
<TableHeader reorderingAllowed="false" resizingAllowed="true"/>
|
||||||
|
</Property>
|
||||||
|
<Property name="updateSelectionOnSort" type="boolean" value="false"/>
|
||||||
|
</Properties>
|
||||||
|
<Events>
|
||||||
|
<EventHandler event="mouseClicked" listener="java.awt.event.MouseListener" parameters="java.awt.event.MouseEvent" handler="imageTableMouseClicked"/>
|
||||||
|
<EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="imageTableKeyReleased"/>
|
||||||
|
</Events>
|
||||||
|
</Component>
|
||||||
|
</SubComponents>
|
||||||
|
</Container>
|
||||||
|
<Component class="javax.swing.JLabel" name="selectFromDriveLabel">
|
||||||
|
<Properties>
|
||||||
|
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
|
||||||
|
<ResourceString bundle="org/sleuthkit/autopsy/casemodule/Bundle.properties" key="LogicalImagerPanel.selectFromDriveLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
|
||||||
|
</Property>
|
||||||
|
</Properties>
|
||||||
|
</Component>
|
||||||
</SubComponents>
|
</SubComponents>
|
||||||
</Container>
|
</Container>
|
||||||
<Component class="javax.swing.JSeparator" name="jSeparator1">
|
|
||||||
</Component>
|
|
||||||
</SubComponents>
|
</SubComponents>
|
||||||
</Form>
|
</Form>
|
||||||
|
@ -19,6 +19,11 @@
|
|||||||
package org.sleuthkit.autopsy.casemodule;
|
package org.sleuthkit.autopsy.casemodule;
|
||||||
|
|
||||||
import java.awt.Color;
|
import java.awt.Color;
|
||||||
|
import java.awt.Component;
|
||||||
|
import java.awt.event.KeyEvent;
|
||||||
|
import java.awt.event.KeyListener;
|
||||||
|
import java.awt.event.MouseAdapter;
|
||||||
|
import java.awt.event.MouseEvent;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.nio.file.FileStore;
|
import java.nio.file.FileStore;
|
||||||
@ -86,13 +91,9 @@ public class LogicalImagerPanel extends JPanel implements DocumentListener {
|
|||||||
*
|
*
|
||||||
* @return instance of the LogicalImagerPanel
|
* @return instance of the LogicalImagerPanel
|
||||||
*/
|
*/
|
||||||
@Messages({
|
|
||||||
"LogicalImagerPanel.messageLabel.clickScanOrBrowse=Click SCAN or BROWSE button to find images"
|
|
||||||
})
|
|
||||||
public static synchronized LogicalImagerPanel createInstance(String context) {
|
public static synchronized LogicalImagerPanel createInstance(String context) {
|
||||||
LogicalImagerPanel instance = new LogicalImagerPanel(context);
|
LogicalImagerPanel instance = new LogicalImagerPanel(context);
|
||||||
// post-constructor initialization of listener support without leaking references of uninitialized objects
|
// post-constructor initialization of listener support without leaking references of uninitialized objects
|
||||||
instance.messageLabel.setText(Bundle.LogicalImagerPanel_messageLabel_clickScanOrBrowse());
|
|
||||||
instance.imageTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
|
instance.imageTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
|
||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
@ -105,35 +106,55 @@ public class LogicalImagerPanel extends JPanel implements DocumentListener {
|
|||||||
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
|
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
|
||||||
private void initComponents() {
|
private void initComponents() {
|
||||||
|
|
||||||
topLabel = new javax.swing.JLabel();
|
buttonGroup1 = new javax.swing.ButtonGroup();
|
||||||
jLabel1 = new javax.swing.JLabel();
|
|
||||||
scanButton = new javax.swing.JButton();
|
|
||||||
messageLabel = new javax.swing.JLabel();
|
messageLabel = new javax.swing.JLabel();
|
||||||
|
browseButton = new javax.swing.JButton();
|
||||||
|
importRadioButton = new javax.swing.JRadioButton();
|
||||||
|
manualRadioButton = new javax.swing.JRadioButton();
|
||||||
|
pathTextField = new javax.swing.JTextField();
|
||||||
|
importPanel = new javax.swing.JPanel();
|
||||||
selectDriveLabel = new javax.swing.JLabel();
|
selectDriveLabel = new javax.swing.JLabel();
|
||||||
driveListScrollPane = new javax.swing.JScrollPane();
|
driveListScrollPane = new javax.swing.JScrollPane();
|
||||||
driveList = new javax.swing.JList<>();
|
driveList = new javax.swing.JList<>();
|
||||||
selectAcquisitionFromDriveLabel = new javax.swing.JLabel();
|
refreshButton = new javax.swing.JButton();
|
||||||
jLabel6 = new javax.swing.JLabel();
|
|
||||||
browseButton = new javax.swing.JButton();
|
|
||||||
imageScrollPane = new javax.swing.JScrollPane();
|
imageScrollPane = new javax.swing.JScrollPane();
|
||||||
imageTable = new javax.swing.JTable();
|
imageTable = new javax.swing.JTable();
|
||||||
jSeparator1 = new javax.swing.JSeparator();
|
selectFromDriveLabel = new javax.swing.JLabel();
|
||||||
|
|
||||||
setMinimumSize(new java.awt.Dimension(0, 65));
|
setMinimumSize(new java.awt.Dimension(0, 65));
|
||||||
setPreferredSize(new java.awt.Dimension(403, 65));
|
setPreferredSize(new java.awt.Dimension(403, 65));
|
||||||
|
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(topLabel, org.openide.util.NbBundle.getMessage(LogicalImagerPanel.class, "LogicalImagerPanel.topLabel.text")); // NOI18N
|
messageLabel.setForeground(java.awt.Color.red);
|
||||||
|
org.openide.awt.Mnemonics.setLocalizedText(messageLabel, org.openide.util.NbBundle.getMessage(LogicalImagerPanel.class, "LogicalImagerPanel.messageLabel.text")); // NOI18N
|
||||||
|
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(jLabel1, org.openide.util.NbBundle.getMessage(LogicalImagerPanel.class, "LogicalImagerPanel.jLabel1.text")); // NOI18N
|
org.openide.awt.Mnemonics.setLocalizedText(browseButton, org.openide.util.NbBundle.getMessage(LogicalImagerPanel.class, "LogicalImagerPanel.browseButton.text")); // NOI18N
|
||||||
|
browseButton.setEnabled(false);
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(scanButton, org.openide.util.NbBundle.getMessage(LogicalImagerPanel.class, "LogicalImagerPanel.scanButton.text")); // NOI18N
|
browseButton.addActionListener(new java.awt.event.ActionListener() {
|
||||||
scanButton.addActionListener(new java.awt.event.ActionListener() {
|
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
scanButtonActionPerformed(evt);
|
browseButtonActionPerformed(evt);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(messageLabel, org.openide.util.NbBundle.getMessage(LogicalImagerPanel.class, "LogicalImagerPanel.messageLabel.text")); // NOI18N
|
buttonGroup1.add(importRadioButton);
|
||||||
|
importRadioButton.setSelected(true);
|
||||||
|
org.openide.awt.Mnemonics.setLocalizedText(importRadioButton, org.openide.util.NbBundle.getMessage(LogicalImagerPanel.class, "LogicalImagerPanel.importRadioButton.text")); // NOI18N
|
||||||
|
importRadioButton.setToolTipText(org.openide.util.NbBundle.getMessage(LogicalImagerPanel.class, "LogicalImagerPanel.importRadioButton.toolTipText")); // NOI18N
|
||||||
|
importRadioButton.addActionListener(new java.awt.event.ActionListener() {
|
||||||
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
|
importRadioButtonActionPerformed(evt);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
buttonGroup1.add(manualRadioButton);
|
||||||
|
org.openide.awt.Mnemonics.setLocalizedText(manualRadioButton, org.openide.util.NbBundle.getMessage(LogicalImagerPanel.class, "LogicalImagerPanel.manualRadioButton.text")); // NOI18N
|
||||||
|
manualRadioButton.addActionListener(new java.awt.event.ActionListener() {
|
||||||
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
|
manualRadioButtonActionPerformed(evt);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
pathTextField.setText(org.openide.util.NbBundle.getMessage(LogicalImagerPanel.class, "LogicalImagerPanel.pathTextField.text")); // NOI18N
|
||||||
|
pathTextField.setEnabled(false);
|
||||||
|
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(selectDriveLabel, org.openide.util.NbBundle.getMessage(LogicalImagerPanel.class, "LogicalImagerPanel.selectDriveLabel.text")); // NOI18N
|
org.openide.awt.Mnemonics.setLocalizedText(selectDriveLabel, org.openide.util.NbBundle.getMessage(LogicalImagerPanel.class, "LogicalImagerPanel.selectDriveLabel.text")); // NOI18N
|
||||||
|
|
||||||
@ -150,14 +171,10 @@ public class LogicalImagerPanel extends JPanel implements DocumentListener {
|
|||||||
});
|
});
|
||||||
driveListScrollPane.setViewportView(driveList);
|
driveListScrollPane.setViewportView(driveList);
|
||||||
|
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(selectAcquisitionFromDriveLabel, org.openide.util.NbBundle.getMessage(LogicalImagerPanel.class, "LogicalImagerPanel.selectAcquisitionFromDriveLabel.text")); // NOI18N
|
org.openide.awt.Mnemonics.setLocalizedText(refreshButton, org.openide.util.NbBundle.getMessage(LogicalImagerPanel.class, "LogicalImagerPanel.refreshButton.text")); // NOI18N
|
||||||
|
refreshButton.addActionListener(new java.awt.event.ActionListener() {
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(jLabel6, org.openide.util.NbBundle.getMessage(LogicalImagerPanel.class, "LogicalImagerPanel.jLabel6.text")); // NOI18N
|
|
||||||
|
|
||||||
org.openide.awt.Mnemonics.setLocalizedText(browseButton, org.openide.util.NbBundle.getMessage(LogicalImagerPanel.class, "LogicalImagerPanel.browseButton.text")); // NOI18N
|
|
||||||
browseButton.addActionListener(new java.awt.event.ActionListener() {
|
|
||||||
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
public void actionPerformed(java.awt.event.ActionEvent evt) {
|
||||||
browseButtonActionPerformed(evt);
|
refreshButtonActionPerformed(evt);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -190,71 +207,81 @@ public class LogicalImagerPanel extends JPanel implements DocumentListener {
|
|||||||
imageScrollPane.setViewportView(imageTable);
|
imageScrollPane.setViewportView(imageTable);
|
||||||
imageTable.getColumnModel().getSelectionModel().setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
|
imageTable.getColumnModel().getSelectionModel().setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
|
||||||
|
|
||||||
|
org.openide.awt.Mnemonics.setLocalizedText(selectFromDriveLabel, org.openide.util.NbBundle.getMessage(LogicalImagerPanel.class, "LogicalImagerPanel.selectFromDriveLabel.text")); // NOI18N
|
||||||
|
|
||||||
|
javax.swing.GroupLayout importPanelLayout = new javax.swing.GroupLayout(importPanel);
|
||||||
|
importPanel.setLayout(importPanelLayout);
|
||||||
|
importPanelLayout.setHorizontalGroup(
|
||||||
|
importPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
|
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, importPanelLayout.createSequentialGroup()
|
||||||
|
.addGap(21, 21, 21)
|
||||||
|
.addGroup(importPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
|
.addComponent(selectDriveLabel)
|
||||||
|
.addGroup(importPanelLayout.createSequentialGroup()
|
||||||
|
.addGroup(importPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
|
||||||
|
.addComponent(driveListScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 211, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
|
.addComponent(refreshButton))
|
||||||
|
.addGap(28, 28, 28)
|
||||||
|
.addGroup(importPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
|
.addComponent(selectFromDriveLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 305, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
|
.addComponent(imageScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
|
||||||
|
.addContainerGap(12, Short.MAX_VALUE))
|
||||||
|
);
|
||||||
|
importPanelLayout.setVerticalGroup(
|
||||||
|
importPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
|
.addGroup(importPanelLayout.createSequentialGroup()
|
||||||
|
.addGroup(importPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
||||||
|
.addComponent(selectDriveLabel)
|
||||||
|
.addComponent(selectFromDriveLabel))
|
||||||
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||||
|
.addGroup(importPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
|
.addComponent(imageScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
|
||||||
|
.addComponent(driveListScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 146, Short.MAX_VALUE))
|
||||||
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
||||||
|
.addComponent(refreshButton))
|
||||||
|
);
|
||||||
|
|
||||||
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
|
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
|
||||||
this.setLayout(layout);
|
this.setLayout(layout);
|
||||||
layout.setHorizontalGroup(
|
layout.setHorizontalGroup(
|
||||||
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addGroup(layout.createSequentialGroup()
|
.addGroup(layout.createSequentialGroup()
|
||||||
.addGap(238, 238, 238)
|
.addContainerGap()
|
||||||
.addComponent(topLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 163, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
||||||
.addGap(0, 0, Short.MAX_VALUE))
|
|
||||||
.addGroup(layout.createSequentialGroup()
|
|
||||||
.addGap(28, 28, 28)
|
|
||||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addComponent(messageLabel, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
|
||||||
.addGroup(layout.createSequentialGroup()
|
.addGroup(layout.createSequentialGroup()
|
||||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
|
.addGap(21, 21, 21)
|
||||||
.addComponent(jSeparator1, javax.swing.GroupLayout.Alignment.LEADING)
|
.addComponent(importPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
.addContainerGap(25, Short.MAX_VALUE))
|
||||||
.addGroup(layout.createSequentialGroup()
|
.addGroup(layout.createSequentialGroup()
|
||||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addGroup(layout.createSequentialGroup()
|
.addComponent(pathTextField)
|
||||||
.addComponent(selectDriveLabel)
|
.addComponent(messageLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
||||||
.addGap(289, 289, 289))
|
.addGroup(layout.createSequentialGroup()
|
||||||
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
|
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addComponent(scanButton)
|
.addGroup(layout.createSequentialGroup()
|
||||||
.addGap(126, 126, 126)))
|
.addComponent(manualRadioButton)
|
||||||
.addGap(36, 36, 36)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||||
.addComponent(browseButton))
|
.addComponent(browseButton))
|
||||||
.addGroup(layout.createSequentialGroup()
|
.addComponent(importRadioButton))
|
||||||
.addComponent(driveListScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 211, javax.swing.GroupLayout.PREFERRED_SIZE)
|
.addGap(0, 0, Short.MAX_VALUE)))
|
||||||
.addGap(28, 28, 28)
|
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
|
||||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
|
||||||
.addComponent(selectAcquisitionFromDriveLabel, javax.swing.GroupLayout.PREFERRED_SIZE, 305, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
||||||
.addComponent(imageScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 346, javax.swing.GroupLayout.PREFERRED_SIZE)))
|
|
||||||
.addGroup(layout.createSequentialGroup()
|
|
||||||
.addGap(346, 346, 346)
|
|
||||||
.addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 154, javax.swing.GroupLayout.PREFERRED_SIZE))
|
|
||||||
.addGroup(layout.createSequentialGroup()
|
|
||||||
.addGap(144, 144, 144)
|
|
||||||
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 116, javax.swing.GroupLayout.PREFERRED_SIZE))))
|
|
||||||
.addContainerGap(48, Short.MAX_VALUE))))
|
|
||||||
);
|
);
|
||||||
layout.setVerticalGroup(
|
layout.setVerticalGroup(
|
||||||
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
|
||||||
.addGroup(layout.createSequentialGroup()
|
.addGroup(layout.createSequentialGroup()
|
||||||
.addComponent(topLabel)
|
.addGap(16, 16, 16)
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
.addComponent(importRadioButton)
|
||||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
|
||||||
.addComponent(jLabel1)
|
|
||||||
.addComponent(jLabel6))
|
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
|
||||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
|
||||||
.addComponent(scanButton)
|
|
||||||
.addComponent(browseButton))
|
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
|
||||||
.addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 4, javax.swing.GroupLayout.PREFERRED_SIZE)
|
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
|
||||||
|
.addComponent(importPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 46, Short.MAX_VALUE)
|
||||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
|
||||||
.addComponent(selectDriveLabel)
|
.addComponent(browseButton)
|
||||||
.addComponent(selectAcquisitionFromDriveLabel))
|
.addComponent(manualRadioButton))
|
||||||
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
|
.addGap(11, 11, 11)
|
||||||
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
|
.addComponent(pathTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
|
||||||
.addComponent(imageScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
|
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
|
||||||
.addComponent(driveListScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 194, Short.MAX_VALUE))
|
|
||||||
.addGap(26, 26, 26)
|
|
||||||
.addComponent(messageLabel)
|
.addComponent(messageLabel)
|
||||||
.addGap(154, 154, 154))
|
.addContainerGap())
|
||||||
);
|
);
|
||||||
}// </editor-fold>//GEN-END:initComponents
|
}// </editor-fold>//GEN-END:initComponents
|
||||||
|
|
||||||
@ -272,7 +299,7 @@ public class LogicalImagerPanel extends JPanel implements DocumentListener {
|
|||||||
"LogicalImagerPanel.messageLabel.scanningExternalDrives=Scanning external drives for sparse_image.vhd ...",
|
"LogicalImagerPanel.messageLabel.scanningExternalDrives=Scanning external drives for sparse_image.vhd ...",
|
||||||
"LogicalImagerPanel.messageLabel.noExternalDriveFound=No drive found"
|
"LogicalImagerPanel.messageLabel.noExternalDriveFound=No drive found"
|
||||||
})
|
})
|
||||||
private void scanButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_scanButtonActionPerformed
|
private void refreshButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_refreshButtonActionPerformed
|
||||||
// Scan external drives for sparse_image.vhd
|
// Scan external drives for sparse_image.vhd
|
||||||
clearImageTable();
|
clearImageTable();
|
||||||
setNormalMessage(Bundle.LogicalImagerPanel_messageLabel_scanningExternalDrives());
|
setNormalMessage(Bundle.LogicalImagerPanel_messageLabel_scanningExternalDrives());
|
||||||
@ -307,7 +334,7 @@ public class LogicalImagerPanel extends JPanel implements DocumentListener {
|
|||||||
setErrorMessage(Bundle.LogicalImagerPanel_messageLabel_noExternalDriveFound());
|
setErrorMessage(Bundle.LogicalImagerPanel_messageLabel_noExternalDriveFound());
|
||||||
}
|
}
|
||||||
firePropertyChange(DataSourceProcessor.DSP_PANEL_EVENT.UPDATE_UI.toString(), true, false);
|
firePropertyChange(DataSourceProcessor.DSP_PANEL_EVENT.UPDATE_UI.toString(), true, false);
|
||||||
}//GEN-LAST:event_scanButtonActionPerformed
|
}//GEN-LAST:event_refreshButtonActionPerformed
|
||||||
|
|
||||||
@Messages({
|
@Messages({
|
||||||
"# {0} - sparseImageDirectory",
|
"# {0} - sparseImageDirectory",
|
||||||
@ -398,7 +425,7 @@ public class LogicalImagerPanel extends JPanel implements DocumentListener {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
selectAcquisitionFromDriveLabel.setText(Bundle.LogicalImagerPanel_selectAcquisitionFromDriveLabel_text()
|
selectFromDriveLabel.setText(Bundle.LogicalImagerPanel_selectAcquisitionFromDriveLabel_text()
|
||||||
+ " " + driveLetter);
|
+ " " + driveLetter);
|
||||||
imageTable.setAutoResizeMode(JTable.AUTO_RESIZE_LAST_COLUMN);
|
imageTable.setAutoResizeMode(JTable.AUTO_RESIZE_LAST_COLUMN);
|
||||||
imageTable.setModel(imageTableModel);
|
imageTable.setModel(imageTableModel);
|
||||||
@ -423,11 +450,12 @@ public class LogicalImagerPanel extends JPanel implements DocumentListener {
|
|||||||
private void setErrorMessage(String msg) {
|
private void setErrorMessage(String msg) {
|
||||||
messageLabel.setForeground(Color.red);
|
messageLabel.setForeground(Color.red);
|
||||||
messageLabel.setText(msg);
|
messageLabel.setText(msg);
|
||||||
|
pathTextField.setText("");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setNormalMessage(String msg) {
|
private void setNormalMessage(String msg) {
|
||||||
messageLabel.setForeground(Color.black);
|
pathTextField.setText(msg);
|
||||||
messageLabel.setText(msg);
|
messageLabel.setText("");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void clearImageTable() {
|
private void clearImageTable() {
|
||||||
@ -451,20 +479,85 @@ public class LogicalImagerPanel extends JPanel implements DocumentListener {
|
|||||||
firePropertyChange(DataSourceProcessor.DSP_PANEL_EVENT.UPDATE_UI.toString(), true, false);
|
firePropertyChange(DataSourceProcessor.DSP_PANEL_EVENT.UPDATE_UI.toString(), true, false);
|
||||||
}//GEN-LAST:event_imageTableKeyReleased
|
}//GEN-LAST:event_imageTableKeyReleased
|
||||||
|
|
||||||
|
MouseAdapter mouseAdapter = new MouseAdapter() {
|
||||||
|
@Override
|
||||||
|
public void mousePressed(MouseEvent e) {
|
||||||
|
System.err.println(e.getPoint().toString());
|
||||||
|
e.consume();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
KeyListener keyListener = new KeyListener() {
|
||||||
|
@Override
|
||||||
|
public void keyTyped(KeyEvent e) {
|
||||||
|
System.err.println(e.toString());
|
||||||
|
e.consume();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void keyPressed(KeyEvent e) {
|
||||||
|
System.err.println(e.toString());
|
||||||
|
e.consume();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void keyReleased(KeyEvent e) {
|
||||||
|
System.err.println(e.toString());
|
||||||
|
e.consume();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
private void toggleMouseAndKeyListeners(Component component, boolean isEnable) {
|
||||||
|
component.setEnabled(isEnable);
|
||||||
|
component.setVisible(isEnable);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void manualRadioButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_manualRadioButtonActionPerformed
|
||||||
|
browseButton.setEnabled(true);
|
||||||
|
|
||||||
|
// disable import panel
|
||||||
|
toggleMouseAndKeyListeners(importPanel, false);
|
||||||
|
toggleMouseAndKeyListeners(driveList, false);
|
||||||
|
toggleMouseAndKeyListeners(driveListScrollPane, false);
|
||||||
|
toggleMouseAndKeyListeners(imageScrollPane, false);
|
||||||
|
toggleMouseAndKeyListeners(imageTable, false);
|
||||||
|
|
||||||
|
refreshButton.setEnabled(false);
|
||||||
|
|
||||||
|
choosenImageDirPath = null;
|
||||||
|
setNormalMessage("");
|
||||||
|
}//GEN-LAST:event_manualRadioButtonActionPerformed
|
||||||
|
|
||||||
|
private void importRadioButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_importRadioButtonActionPerformed
|
||||||
|
browseButton.setEnabled(false);
|
||||||
|
|
||||||
|
toggleMouseAndKeyListeners(importPanel, true);
|
||||||
|
toggleMouseAndKeyListeners(driveList, true);
|
||||||
|
toggleMouseAndKeyListeners(driveListScrollPane, true);
|
||||||
|
toggleMouseAndKeyListeners(imageScrollPane, true);
|
||||||
|
toggleMouseAndKeyListeners(imageTable, true);
|
||||||
|
|
||||||
|
refreshButton.setEnabled(true);
|
||||||
|
|
||||||
|
choosenImageDirPath = null;
|
||||||
|
setNormalMessage("");
|
||||||
|
}//GEN-LAST:event_importRadioButtonActionPerformed
|
||||||
|
|
||||||
// Variables declaration - do not modify//GEN-BEGIN:variables
|
// Variables declaration - do not modify//GEN-BEGIN:variables
|
||||||
private javax.swing.JButton browseButton;
|
private javax.swing.JButton browseButton;
|
||||||
|
private javax.swing.ButtonGroup buttonGroup1;
|
||||||
private javax.swing.JList<String> driveList;
|
private javax.swing.JList<String> driveList;
|
||||||
private javax.swing.JScrollPane driveListScrollPane;
|
private javax.swing.JScrollPane driveListScrollPane;
|
||||||
private javax.swing.JScrollPane imageScrollPane;
|
private javax.swing.JScrollPane imageScrollPane;
|
||||||
private javax.swing.JTable imageTable;
|
private javax.swing.JTable imageTable;
|
||||||
private javax.swing.JLabel jLabel1;
|
private javax.swing.JPanel importPanel;
|
||||||
private javax.swing.JLabel jLabel6;
|
private javax.swing.JRadioButton importRadioButton;
|
||||||
private javax.swing.JSeparator jSeparator1;
|
private javax.swing.JRadioButton manualRadioButton;
|
||||||
private javax.swing.JLabel messageLabel;
|
private javax.swing.JLabel messageLabel;
|
||||||
private javax.swing.JButton scanButton;
|
private javax.swing.JTextField pathTextField;
|
||||||
private javax.swing.JLabel selectAcquisitionFromDriveLabel;
|
private javax.swing.JButton refreshButton;
|
||||||
private javax.swing.JLabel selectDriveLabel;
|
private javax.swing.JLabel selectDriveLabel;
|
||||||
private javax.swing.JLabel topLabel;
|
private javax.swing.JLabel selectFromDriveLabel;
|
||||||
// End of variables declaration//GEN-END:variables
|
// End of variables declaration//GEN-END:variables
|
||||||
|
|
||||||
public void reset() {
|
public void reset() {
|
||||||
@ -472,7 +565,6 @@ public class LogicalImagerPanel extends JPanel implements DocumentListener {
|
|||||||
choosenImageDirPath = null;
|
choosenImageDirPath = null;
|
||||||
driveList.setListData(EMPTY_LIST_DATA);
|
driveList.setListData(EMPTY_LIST_DATA);
|
||||||
clearImageTable();
|
clearImageTable();
|
||||||
setNormalMessage(Bundle.LogicalImagerPanel_messageLabel_clickScanOrBrowse());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -488,10 +580,6 @@ public class LogicalImagerPanel extends JPanel implements DocumentListener {
|
|||||||
return choosenImageDirPath;
|
return choosenImageDirPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setMessageLabel(String message) {
|
|
||||||
messageLabel.setText(message);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void insertUpdate(DocumentEvent e) {
|
public void insertUpdate(DocumentEvent e) {
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user