diff --git a/Core/src/com/basistech/df/cybertriage/autopsy/ctoptions/ctcloud/Bundle.properties-MERGED b/Core/src/com/basistech/df/cybertriage/autopsy/ctoptions/ctcloud/Bundle.properties-MERGED
index 2bd5bc5eab..d3922b3c09 100644
--- a/Core/src/com/basistech/df/cybertriage/autopsy/ctoptions/ctcloud/Bundle.properties-MERGED
+++ b/Core/src/com/basistech/df/cybertriage/autopsy/ctoptions/ctcloud/Bundle.properties-MERGED
@@ -65,4 +65,3 @@ CTMalwareScannerOptionsPanel.fileUploadPanel.border.title=File Upload
CTMalwareScannerOptionsPanel.licenseInfoMessageLabel.text=
CTMalwareScannerOptionsPanel.disclaimer.text=The Cyber Triage Malware Scanner module uses 40+ malware scanning engines to identify if Windows executables are malicious. It requires a paid subscription to use.
CTMalwareScannerOptionsPanel.purchaseFromLabel.text=For licensing information, visit
-
diff --git a/Core/src/com/basistech/df/cybertriage/autopsy/ctoptions/ctcloud/CTMalwareScannerOptionsPanel.form b/Core/src/com/basistech/df/cybertriage/autopsy/ctoptions/ctcloud/CTMalwareScannerOptionsPanel.form
index abd9449e67..841490d657 100644
--- a/Core/src/com/basistech/df/cybertriage/autopsy/ctoptions/ctcloud/CTMalwareScannerOptionsPanel.form
+++ b/Core/src/com/basistech/df/cybertriage/autopsy/ctoptions/ctcloud/CTMalwareScannerOptionsPanel.form
@@ -16,93 +16,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/Core/src/com/basistech/df/cybertriage/autopsy/ctoptions/ctcloud/CTMalwareScannerOptionsPanel.java b/Core/src/com/basistech/df/cybertriage/autopsy/ctoptions/ctcloud/CTMalwareScannerOptionsPanel.java
index 6215440e92..056b96915b 100644
--- a/Core/src/com/basistech/df/cybertriage/autopsy/ctoptions/ctcloud/CTMalwareScannerOptionsPanel.java
+++ b/Core/src/com/basistech/df/cybertriage/autopsy/ctoptions/ctcloud/CTMalwareScannerOptionsPanel.java
@@ -164,13 +164,15 @@ public class CTMalwareScannerOptionsPanel extends CTOptionsSubPanel {
}
private MalwareIngestSettings getIngestSettings() {
- return new MalwareIngestSettings();
+ return new MalwareIngestSettings()
+ .setUploadFiles(this.fileUploadCheckbox.isSelected());
}
private void setIngestSettings(MalwareIngestSettings ingestSettings) {
if (ingestSettings == null) {
ingestSettings = new MalwareIngestSettings();
}
+ this.fileUploadCheckbox.setSelected(ingestSettings.isUploadFiles());
}
private synchronized void setLicenseDisplay(LicenseInfo licenseInfo, String licenseMessage) {
@@ -240,6 +242,7 @@ public class CTMalwareScannerOptionsPanel extends CTOptionsSubPanel {
// //GEN-BEGIN:initComponents
private void initComponents() {
java.awt.GridBagConstraints gridBagConstraints;
+
malwareScansPanel = new javax.swing.JPanel();
javax.swing.JLabel disclaimer = new javax.swing.JLabel();
javax.swing.JPanel licenseInfoPanel = new javax.swing.JPanel();
@@ -275,8 +278,6 @@ public class CTMalwareScannerOptionsPanel extends CTOptionsSubPanel {
gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5);
malwareScansPanel.add(disclaimer, gridBagConstraints);
-
- licenseInfoPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(org.openide.util.NbBundle.getMessage(CTMalwareScannerOptionsPanel.class, "CTMalwareScannerOptionsPanel.licenseInfoPanel.border.title"))); // NOI18N
licenseInfoPanel.setLayout(new java.awt.GridBagLayout());
org.openide.awt.Mnemonics.setLocalizedText(licenseInfoMessageLabel, org.openide.util.NbBundle.getMessage(CTMalwareScannerOptionsPanel.class, "CTMalwareScannerOptionsPanel.licenseInfoMessageLabel.text")); // NOI18N
@@ -479,7 +480,6 @@ public class CTMalwareScannerOptionsPanel extends CTOptionsSubPanel {
gotoLink(PURCHASE_URL);
}//GEN-LAST:event_purchaseLinkMouseClicked
-
@NbBundle.Messages({
"# {0} - userName",
"# {1} - email",
diff --git a/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/Bundle.properties b/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/Bundle.properties
deleted file mode 100644
index e9fdcb1cb5..0000000000
--- a/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/Bundle.properties
+++ /dev/null
@@ -1,7 +0,0 @@
-MalwareScanIngestSettingsPanel.uploadFilesCheckbox.AccessibleContext.accessibleName=Upload file content for files that do not have results
-MalwareScanIngestSettingsPanel.uploadFilesCheckbox.label=Upload file content for files that do not have results
-MalwareScanIngestSettingsPanel.uploadFilesCheckbox.text=Upload file content for files that do not have results
-DataSourceIntegrityIngestSettingsPanel.queryFilesTextArea.text=Query file existing results using file\u2019s hash
-MalwareScanIngestSettingsPanel.ingestSettingsLabel.text=Ingest Settings
-MalwareScanIngestSettingsPanel.paidLicenseTextArea.text=This module requires a paid license. \nSee the Global Options panel for details
-MalwareScanIngestSettingsPanel.queryFilesCheckbox.text=Query for existing results using file\u2019s hash
diff --git a/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/Bundle.properties-MERGED b/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/Bundle.properties-MERGED
index 3b886d02cb..4380a9607c 100644
--- a/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/Bundle.properties-MERGED
+++ b/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/Bundle.properties-MERGED
@@ -38,13 +38,6 @@ MalwareScanIngestModule_uploadFile_noRemainingFileUploads_title=No Remaining Fil
# {0} - objectId
MalwareScanIngestModule_uploadFile_notUploadable_desc=A file did not meet requirements for upload (object id: {0}).
MalwareScanIngestModule_uploadFile_notUploadable_title=Not Able to Upload
-MalwareScanIngestModuleFactory_description=Identifies executable files with malware.
+MalwareScanIngestModuleFactory_description=The malware scan ingest module queries the Cyber Triage cloud API for any possible malicious executables.
MalwareScanIngestModuleFactory_displayName=Cyber Triage Malware Scanner
MalwareScanIngestModuleFactory_version=1.0.0
-MalwareScanIngestSettingsPanel.uploadFilesCheckbox.AccessibleContext.accessibleName=Upload file content for files that do not have results
-MalwareScanIngestSettingsPanel.uploadFilesCheckbox.label=Upload file content for files that do not have results
-MalwareScanIngestSettingsPanel.uploadFilesCheckbox.text=Upload file content for files that do not have results
-DataSourceIntegrityIngestSettingsPanel.queryFilesTextArea.text=Query file existing results using file\u2019s hash
-MalwareScanIngestSettingsPanel.ingestSettingsLabel.text=Ingest Settings
-MalwareScanIngestSettingsPanel.paidLicenseTextArea.text=This module requires a paid license. \nSee the Global Options panel for details
-MalwareScanIngestSettingsPanel.queryFilesCheckbox.text=Query for existing results using file\u2019s hash
diff --git a/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/Bundle_ar.properties b/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/Bundle_ar.properties
deleted file mode 100644
index 7a6ad43a3e..0000000000
--- a/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/Bundle_ar.properties
+++ /dev/null
@@ -1 +0,0 @@
-MalwareScanIngestSettingsPanel.ingestSettingsLabel.text=Configuracion de Ingesta
diff --git a/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/Bundle_ja.properties b/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/Bundle_ja.properties
deleted file mode 100644
index cff7aa2e8d..0000000000
--- a/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/Bundle_ja.properties
+++ /dev/null
@@ -1 +0,0 @@
-MalwareScanIngestSettingsPanel.ingestSettingsLabel.text=\u53d6\u8fbc\u307f\u8a2d\u5b9a
diff --git a/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/MalwareScanIngestModule.java b/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/MalwareScanIngestModule.java
index a9c814e767..4698392478 100644
--- a/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/MalwareScanIngestModule.java
+++ b/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/MalwareScanIngestModule.java
@@ -72,17 +72,10 @@ import org.sleuthkit.datamodel.TskData;
class MalwareScanIngestModule implements FileIngestModule {
private static final SharedProcessing sharedProcessing = new SharedProcessing();
- private boolean uploadFiles;
- private boolean queryFiles;
-
- MalwareScanIngestModule(MalwareScanIngestSettings settings) {
- uploadFiles = settings.shouldUploadFiles();
- queryFiles = settings.shouldQueryFiles();
- }
-
+
@Override
public void startUp(IngestJobContext context) throws IngestModuleException {
- sharedProcessing.startUp(context, uploadFiles);
+ sharedProcessing.startUp(context);
}
@Override
@@ -130,7 +123,7 @@ class MalwareScanIngestModule implements FileIngestModule {
"application/msdos-windows",//NON-NLS
"application/x-msdos-program"//NON-NLS
).collect(Collectors.toSet());
-
+
private static final String MALWARE_TYPE_NAME = "TSK_MALWARE";
private static final String MALWARE_CONFIG = "Cyber Triage Cloud";
@@ -160,14 +153,14 @@ class MalwareScanIngestModule implements FileIngestModule {
"MalwareScanIngestModule_ShareProcessing_lowUploadsLimitWarning_title=File Uploads Limit Low",
"# {0} - remainingUploads",
"MalwareScanIngestModule_ShareProcessing_lowUploadsLimitWarning_desc=This license only has {0} file uploads remaining.",})
- synchronized void startUp(IngestJobContext context, boolean uploadFiles) throws IngestModuleException {
+ synchronized void startUp(IngestJobContext context) throws IngestModuleException {
// only run this code once per startup
if (ingestJobState != null) {
return;
}
try {
- ingestJobState = getNewJobState(context, uploadFiles);
+ ingestJobState = getNewJobState(context);
} catch (Exception ex) {
ingestJobState = IngestJobState.DISABLED;
throw new IngestModuleException("An exception occurred on MalwareScanIngestModule startup", ex);
@@ -182,7 +175,7 @@ class MalwareScanIngestModule implements FileIngestModule {
* parameters required for the job.
* @throws Exception
*/
- private IngestJobState getNewJobState(IngestJobContext context, boolean uploadFiles) throws Exception {
+ private IngestJobState getNewJobState(IngestJobContext context) throws Exception {
// get saved license
Optional licenseInfoOpt = ctSettingsPersistence.loadLicenseInfo();
if (licenseInfoOpt.isEmpty() || licenseInfoOpt.get().getDecryptedLicense() == null) {
@@ -214,6 +207,7 @@ class MalwareScanIngestModule implements FileIngestModule {
}
// determine lookups remaining
+ boolean uploadFiles = ctSettingsPersistence.loadMalwareIngestSettings().isUploadFiles();
if (uploadFiles) {
long uploadsRemaining = remaining(authTokenResponse.getFileUploadLimit(), authTokenResponse.getFileUploadCount());
if (uploadsRemaining <= 0) {
diff --git a/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/MalwareScanIngestModuleFactory.java b/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/MalwareScanIngestModuleFactory.java
index 83cb93f689..e138116036 100644
--- a/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/MalwareScanIngestModuleFactory.java
+++ b/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/MalwareScanIngestModuleFactory.java
@@ -25,8 +25,6 @@ import org.sleuthkit.autopsy.ingest.FileIngestModule;
import org.sleuthkit.autopsy.ingest.IngestModuleFactoryAdapter;
import org.sleuthkit.autopsy.ingest.IngestModuleGlobalSettingsPanel;
import org.sleuthkit.autopsy.ingest.IngestModuleIngestJobSettings;
-import org.sleuthkit.autopsy.ingest.IngestModuleIngestJobSettingsPanel;
-import org.sleuthkit.autopsy.ingest.NoIngestModuleIngestJobSettings;
/**
* Factory for malware scan ingest modules.
@@ -34,7 +32,7 @@ import org.sleuthkit.autopsy.ingest.NoIngestModuleIngestJobSettings;
@ServiceProvider(service = org.sleuthkit.autopsy.ingest.IngestModuleFactory.class)
@Messages({
"MalwareScanIngestModuleFactory_displayName=Cyber Triage Malware Scanner",
- "MalwareScanIngestModuleFactory_description=Identifies executable files with malware.",
+ "MalwareScanIngestModuleFactory_description=The malware scan ingest module queries the Cyber Triage cloud API for any possible malicious executables.",
"MalwareScanIngestModuleFactory_version=1.0.0"
})
public class MalwareScanIngestModuleFactory extends IngestModuleFactoryAdapter {
@@ -68,7 +66,7 @@ public class MalwareScanIngestModuleFactory extends IngestModuleFactoryAdapter {
@Override
public FileIngestModule createFileIngestModule(IngestModuleIngestJobSettings ingestOptions) {
- return new MalwareScanIngestModule((MalwareScanIngestSettings) ingestOptions);
+ return new MalwareScanIngestModule();
}
@Override
@@ -83,23 +81,4 @@ public class MalwareScanIngestModuleFactory extends IngestModuleFactoryAdapter {
return optionsPanel;
}
- @Override
- public boolean hasIngestJobSettingsPanel() {
- return true;
- }
-
- @Override
- public IngestModuleIngestJobSettingsPanel getIngestJobSettingsPanel(IngestModuleIngestJobSettings settings) {
- if (settings instanceof MalwareScanIngestSettings) {
- return new MalwareScanIngestSettingsPanel((MalwareScanIngestSettings) settings);
- }
- /*
- * Compatibility check for older versions.
- */
- if (settings instanceof NoIngestModuleIngestJobSettings) {
- return new MalwareScanIngestSettingsPanel(new MalwareScanIngestSettings());
- }
-
- throw new IllegalArgumentException("Expected settings argument to be an instance of IngestSettings");
- }
}
diff --git a/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/MalwareScanIngestSettings.java b/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/MalwareScanIngestSettings.java
deleted file mode 100644
index 158e967745..0000000000
--- a/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/MalwareScanIngestSettings.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- * Autopsy Forensic Browser
- *
- * Copyright 2023 Basis Technology Corp.
- * Contact: carrier sleuthkit org
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.basistech.df.cybertriage.autopsy.malwarescan;
-
-import org.sleuthkit.autopsy.ingest.IngestModuleIngestJobSettings;
-
-/**
- * Ingest job settings for the Malware scanner module.
- */
-final class MalwareScanIngestSettings implements IngestModuleIngestJobSettings {
-
- private static final long serialVersionUID = 1L;
-
- private static final boolean DEFAULT_QUERY_FILES = true;
- private static final boolean DEFAULT_UPLOAD_FILES = true;
-
- public boolean queryFiles;
- public boolean uploadFiles;
-
- /**
- * Instantiate the ingest job settings with default values.
- */
- MalwareScanIngestSettings() {
- this.queryFiles = DEFAULT_QUERY_FILES;
- this.uploadFiles = DEFAULT_UPLOAD_FILES;
- }
-
- /**
- * Instantiate the ingest job settings.
- *
- * @param computeHashes Compute hashes if none are present
- * @param verifyHashes Verify hashes if any are present
- */
- MalwareScanIngestSettings(boolean queryFiles, boolean uploadFiles) {
- this.queryFiles = queryFiles;
- this.uploadFiles = uploadFiles;
- }
-
- @Override
- public long getVersionNumber() {
- return serialVersionUID;
- }
-
- /**
- * Should files be queried?
- *
- * @return true if files should be queried, false otherwise
- */
- public boolean shouldQueryFiles() {
- return queryFiles;
- }
-
- /**
- * Set whether files should be queried.
- *
- * @param queryFiles true if files should be queried
- */
- void setqueryFiles(boolean queryFiles) {
- this.queryFiles = queryFiles;
- }
-
-
- /**
- * Should files be uploaded?
- *
- * @return true if files should be uploaded, false otherwise
- */
- public boolean shouldUploadFiles() {
- return uploadFiles;
- }
-
- /**
- * Set whether files should be uploaded.
- *
- * @param uploadFiles true if files should be uploaded
- */
- void setUploadFiles(boolean uploadFiles) {
- this.uploadFiles = uploadFiles;
- }
-}
diff --git a/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/MalwareScanIngestSettingsPanel.form b/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/MalwareScanIngestSettingsPanel.form
deleted file mode 100644
index 46a928c98e..0000000000
--- a/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/MalwareScanIngestSettingsPanel.form
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
-
diff --git a/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/MalwareScanIngestSettingsPanel.java b/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/MalwareScanIngestSettingsPanel.java
deleted file mode 100644
index a418de0f83..0000000000
--- a/Core/src/com/basistech/df/cybertriage/autopsy/malwarescan/MalwareScanIngestSettingsPanel.java
+++ /dev/null
@@ -1,149 +0,0 @@
-/*
- * Autopsy Browser
- *
- * Copyright 2023 Basis Technology Corp.
- * Contact: carrier sleuthkit org
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.basistech.df.cybertriage.autopsy.malwarescan;
-
-import com.basistech.df.cybertriage.autopsy.ctapi.json.LicenseInfo;
-import com.basistech.df.cybertriage.autopsy.ctoptions.ctcloud.CTLicensePersistence;
-import java.util.Optional;
-import org.sleuthkit.autopsy.modules.dataSourceIntegrity.*;
-import org.sleuthkit.autopsy.ingest.IngestModuleIngestJobSettings;
-import org.sleuthkit.autopsy.ingest.IngestModuleIngestJobSettingsPanel;
-
-/**
- * Ingest job settings panel for the Malware scanner ingest.
- */
-@SuppressWarnings("PMD.SingularField") // UI widgets cause lots of false positives
-final class MalwareScanIngestSettingsPanel extends IngestModuleIngestJobSettingsPanel {
-
- private final CTLicensePersistence ctPersistence = CTLicensePersistence.getInstance();
-
- MalwareScanIngestSettingsPanel(MalwareScanIngestSettings settings) {
- initComponents();
- customizeComponents(settings);
- }
-
- /**
- * Update components with values from the ingest job settings.
- *
- * @param settings The ingest job settings.
- */
- private void customizeComponents(MalwareScanIngestSettings settings) {
- Optional licenseInfoOpt = ctPersistence.loadLicenseInfo();
- LicenseInfo licenseInfo = licenseInfoOpt.orElse(null);
- if (licenseInfo != null) {
- this.paidLicenseTextArea.setVisible(false);
- this.queryFilesCheckbox.setVisible(true);
- this.queryFilesCheckbox.setEnabled(false);
- this.uploadFilesCheckbox.setVisible(true);
- this.queryFilesCheckbox.setSelected(true);
- this.uploadFilesCheckbox.setSelected(settings.shouldUploadFiles());
- } else {
- this.paidLicenseTextArea.setVisible(true);
- this.queryFilesCheckbox.setVisible(false);
- this.uploadFilesCheckbox.setVisible(false);
- }
- }
-
- @Override
- public IngestModuleIngestJobSettings getSettings() {
- return new MalwareScanIngestSettings(queryFilesCheckbox.isSelected(), uploadFilesCheckbox.isSelected());
- }
-
- /**
- * This method is called from within the constructor to initialize the form.
- * WARNING: Do NOT modify this code. The content of this method is always
- * regenerated by the Form Editor.
- */
- @SuppressWarnings("unchecked")
- // //GEN-BEGIN:initComponents
- private void initComponents() {
-
- queryFilesCheckbox = new javax.swing.JCheckBox();
- uploadFilesCheckbox = new javax.swing.JCheckBox();
- ingestSettingsLabel = new javax.swing.JLabel();
- paidLicenseTextArea = new javax.swing.JTextArea();
-
- setPreferredSize(new java.awt.Dimension(300, 155));
-
- queryFilesCheckbox.setSelected(true);
- org.openide.awt.Mnemonics.setLocalizedText(queryFilesCheckbox, org.openide.util.NbBundle.getMessage(MalwareScanIngestSettingsPanel.class, "MalwareScanIngestSettingsPanel.queryFilesCheckbox.text")); // NOI18N
- queryFilesCheckbox.setEnabled(false);
-
- org.openide.awt.Mnemonics.setLocalizedText(uploadFilesCheckbox, org.openide.util.NbBundle.getMessage(MalwareScanIngestSettingsPanel.class, "MalwareScanIngestSettingsPanel.uploadFilesCheckbox.text")); // NOI18N
- uploadFilesCheckbox.setFocusable(false);
- uploadFilesCheckbox.setLabel(org.openide.util.NbBundle.getMessage(MalwareScanIngestSettingsPanel.class, "MalwareScanIngestSettingsPanel.uploadFilesCheckbox.label")); // NOI18N
-
- ingestSettingsLabel.setFont(ingestSettingsLabel.getFont().deriveFont(ingestSettingsLabel.getFont().getStyle() | java.awt.Font.BOLD));
- org.openide.awt.Mnemonics.setLocalizedText(ingestSettingsLabel, org.openide.util.NbBundle.getMessage(MalwareScanIngestSettingsPanel.class, "MalwareScanIngestSettingsPanel.ingestSettingsLabel.text")); // NOI18N
-
- paidLicenseTextArea.setColumns(20);
- paidLicenseTextArea.setFont(new java.awt.Font("Segoe UI", 1, 12)); // NOI18N
- paidLicenseTextArea.setRows(5);
- paidLicenseTextArea.setText(org.openide.util.NbBundle.getMessage(MalwareScanIngestSettingsPanel.class, "MalwareScanIngestSettingsPanel.paidLicenseTextArea.text")); // NOI18N
- paidLicenseTextArea.setWrapStyleWord(true);
- paidLicenseTextArea.setBorder(null);
- paidLicenseTextArea.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
- paidLicenseTextArea.setFocusable(false);
- paidLicenseTextArea.setOpaque(false);
- paidLicenseTextArea.setRequestFocusEnabled(false);
-
- javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
- this.setLayout(layout);
- layout.setHorizontalGroup(
- layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(layout.createSequentialGroup()
- .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(layout.createSequentialGroup()
- .addGap(6, 6, 6)
- .addComponent(ingestSettingsLabel))
- .addGroup(layout.createSequentialGroup()
- .addGap(6, 6, 6)
- .addComponent(uploadFilesCheckbox))
- .addGroup(layout.createSequentialGroup()
- .addContainerGap()
- .addComponent(queryFilesCheckbox))
- .addGroup(layout.createSequentialGroup()
- .addGap(5, 5, 5)
- .addComponent(paidLicenseTextArea, javax.swing.GroupLayout.PREFERRED_SIZE, 243, javax.swing.GroupLayout.PREFERRED_SIZE)))
- .addGap(185, 185, 185))
- );
- layout.setVerticalGroup(
- layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
- .addGroup(layout.createSequentialGroup()
- .addContainerGap()
- .addComponent(ingestSettingsLabel)
- .addGap(18, 18, 18)
- .addComponent(queryFilesCheckbox)
- .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
- .addComponent(uploadFilesCheckbox)
- .addGap(18, 18, 18)
- .addComponent(paidLicenseTextArea, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE))
- );
-
- uploadFilesCheckbox.getAccessibleContext().setAccessibleName(org.openide.util.NbBundle.getMessage(MalwareScanIngestSettingsPanel.class, "MalwareScanIngestSettingsPanel.uploadFilesCheckbox.AccessibleContext.accessibleName")); // NOI18N
- }// //GEN-END:initComponents
-
- // Variables declaration - do not modify//GEN-BEGIN:variables
- private javax.swing.JLabel ingestSettingsLabel;
- private javax.swing.JTextArea paidLicenseTextArea;
- private javax.swing.JCheckBox queryFilesCheckbox;
- private javax.swing.JCheckBox uploadFilesCheckbox;
- // End of variables declaration//GEN-END:variables
-
-}