Autopsy  4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
AutopsyOptionsPanel.java
Go to the documentation of this file.
1 /*
2  * Autopsy Forensic Browser
3  *
4  * Copyright 2013-2014 Basis Technology Corp.
5  * Contact: carrier <at> sleuthkit <dot> org
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19 package org.sleuthkit.autopsy.corecomponents;
20 
21 import java.text.NumberFormat;
22 import javax.swing.DefaultComboBoxModel;
23 import javax.swing.JFormattedTextField;
24 import javax.swing.event.DocumentEvent;
25 import javax.swing.event.DocumentListener;
26 import org.netbeans.spi.options.OptionsPanelController;
27 import org.openide.util.NbBundle;
29 
33 final class AutopsyOptionsPanel extends javax.swing.JPanel {
34 
35  AutopsyOptionsPanel() {
36  initComponents();
37  int availableProcessors = Runtime.getRuntime().availableProcessors();
38  Integer fileIngestThreadCountChoices[];
39  int recommendedFileIngestThreadCount;
40  if (availableProcessors >= 16) {
41  fileIngestThreadCountChoices = new Integer[]{1, 2, 4, 6, 8, 12, 16};
42  if (availableProcessors >= 18) {
43  recommendedFileIngestThreadCount = 16;
44  } else {
45  recommendedFileIngestThreadCount = 12;
46  }
47  } else if (availableProcessors >= 12 && availableProcessors <= 15) {
48  fileIngestThreadCountChoices = new Integer[]{1, 2, 4, 6, 8, 12};
49  if (availableProcessors >= 14) {
50  recommendedFileIngestThreadCount = 12;
51  } else {
52  recommendedFileIngestThreadCount = 8;
53  }
54  } else if (availableProcessors >= 8 && availableProcessors <= 11) {
55  fileIngestThreadCountChoices = new Integer[]{1, 2, 4, 6, 8};
56  if (availableProcessors >= 10) {
57  recommendedFileIngestThreadCount = 8;
58  } else {
59  recommendedFileIngestThreadCount = 6;
60  }
61  } else if (availableProcessors >= 6 && availableProcessors <= 7) {
62  fileIngestThreadCountChoices = new Integer[]{1, 2, 4, 6};
63  recommendedFileIngestThreadCount = 4;
64  } else if (availableProcessors >= 4 && availableProcessors <= 5) {
65  fileIngestThreadCountChoices = new Integer[]{1, 2, 4};
66  recommendedFileIngestThreadCount = 2;
67  } else if (availableProcessors >= 2 && availableProcessors <= 3) {
68  fileIngestThreadCountChoices = new Integer[]{1, 2};
69  recommendedFileIngestThreadCount = 1;
70  } else {
71  fileIngestThreadCountChoices = new Integer[]{1};
72  recommendedFileIngestThreadCount = 1;
73  }
74  numberOfFileIngestThreadsComboBox.setModel(new DefaultComboBoxModel<>(fileIngestThreadCountChoices));
75  restartRequiredLabel.setText(NbBundle.getMessage(AutopsyOptionsPanel.class, "AutopsyOptionsPanel.restartRequiredLabel.text", recommendedFileIngestThreadCount));
76  // TODO listen to changes in form fields and call controller.changed()
77  DocumentListener docListener = new DocumentListener() {
78 
79  @Override
80  public void insertUpdate(DocumentEvent e) {
81  firePropertyChange(OptionsPanelController.PROP_CHANGED, null, null);
82  }
83 
84  @Override
85  public void removeUpdate(DocumentEvent e) {
86  firePropertyChange(OptionsPanelController.PROP_CHANGED, null, null);
87  }
88 
89  @Override
90  public void changedUpdate(DocumentEvent e) {
91  firePropertyChange(OptionsPanelController.PROP_CHANGED, null, null);
92  }
93  };
94  this.jFormattedTextFieldProcTimeOutHrs.getDocument().addDocumentListener(docListener);
95 
96  }
97 
98  void load() {
99  boolean keepPreferredViewer = UserPreferences.keepPreferredContentViewer();
100  keepCurrentViewerRB.setSelected(keepPreferredViewer);
101  useBestViewerRB.setSelected(!keepPreferredViewer);
102  dataSourcesHideKnownCB.setSelected(UserPreferences.hideKnownFilesInDataSourcesTree());
103  viewsHideKnownCB.setSelected(UserPreferences.hideKnownFilesInViewsTree());
104  boolean useLocalTime = UserPreferences.displayTimesInLocalTime();
105  useLocalTimeRB.setSelected(useLocalTime);
106  useGMTTimeRB.setSelected(!useLocalTime);
107  numberOfFileIngestThreadsComboBox.setSelectedItem(UserPreferences.numberOfFileIngestThreads());
108  if (UserPreferences.getIsTimeOutEnabled()) {
109  // user specified time out
110  jCheckBoxEnableProcTimeout.setSelected(true);
111  jFormattedTextFieldProcTimeOutHrs.setEditable(true);
112  int timeOutHrs = UserPreferences.getProcessTimeOutHrs();
113  jFormattedTextFieldProcTimeOutHrs.setValue((long) timeOutHrs);
114  } else {
115  // never time out
116  jCheckBoxEnableProcTimeout.setSelected(false);
117  jFormattedTextFieldProcTimeOutHrs.setEditable(false);
118  int timeOutHrs = UserPreferences.getProcessTimeOutHrs();
119  jFormattedTextFieldProcTimeOutHrs.setValue((long) timeOutHrs);
120  }
121  }
122 
123  void store() {
124  UserPreferences.setKeepPreferredContentViewer(keepCurrentViewerRB.isSelected());
125  UserPreferences.setHideKnownFilesInDataSourcesTree(dataSourcesHideKnownCB.isSelected());
126  UserPreferences.setHideKnownFilesInViewsTree(viewsHideKnownCB.isSelected());
127  UserPreferences.setDisplayTimesInLocalTime(useLocalTimeRB.isSelected());
128  UserPreferences.setNumberOfFileIngestThreads((Integer) numberOfFileIngestThreadsComboBox.getSelectedItem());
129 
130  UserPreferences.setIsTimeOutEnabled(jCheckBoxEnableProcTimeout.isSelected());
131  if (jCheckBoxEnableProcTimeout.isSelected()) {
132  // only store time out if it is enabled
133  long timeOutHrs = (long) jFormattedTextFieldProcTimeOutHrs.getValue();
134  UserPreferences.setProcessTimeOutHrs((int) timeOutHrs);
135  }
136  }
137 
138  boolean valid() {
139  return true;
140  }
141 
147  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
148  private void initComponents() {
149 
150  buttonGroup1 = new javax.swing.ButtonGroup();
151  buttonGroup3 = new javax.swing.ButtonGroup();
152  jScrollPane1 = new javax.swing.JScrollPane();
153  jPanel1 = new javax.swing.JPanel();
154  useBestViewerRB = new javax.swing.JRadioButton();
155  keepCurrentViewerRB = new javax.swing.JRadioButton();
156  jLabelSelectFile = new javax.swing.JLabel();
157  jLabelTimeDisplay = new javax.swing.JLabel();
158  useLocalTimeRB = new javax.swing.JRadioButton();
159  useGMTTimeRB = new javax.swing.JRadioButton();
160  jLabelHideKnownFiles = new javax.swing.JLabel();
161  dataSourcesHideKnownCB = new javax.swing.JCheckBox();
162  viewsHideKnownCB = new javax.swing.JCheckBox();
163  jLabelNumThreads = new javax.swing.JLabel();
164  numberOfFileIngestThreadsComboBox = new javax.swing.JComboBox<>();
165  restartRequiredLabel = new javax.swing.JLabel();
166  jLabelSetProcessTimeOut = new javax.swing.JLabel();
167  jCheckBoxEnableProcTimeout = new javax.swing.JCheckBox();
168  jLabelProcessTimeOutUnits = new javax.swing.JLabel();
169  jFormattedTextFieldProcTimeOutHrs = new JFormattedTextField(NumberFormat.getIntegerInstance());
170 
171  jScrollPane1.setBorder(null);
172 
173  buttonGroup1.add(useBestViewerRB);
174  org.openide.awt.Mnemonics.setLocalizedText(useBestViewerRB, org.openide.util.NbBundle.getMessage(AutopsyOptionsPanel.class, "AutopsyOptionsPanel.useBestViewerRB.text")); // NOI18N
175  useBestViewerRB.setToolTipText(org.openide.util.NbBundle.getMessage(AutopsyOptionsPanel.class, "AutopsyOptionsPanel.useBestViewerRB.toolTipText")); // NOI18N
176  useBestViewerRB.addActionListener(new java.awt.event.ActionListener() {
177  public void actionPerformed(java.awt.event.ActionEvent evt) {
178  useBestViewerRBActionPerformed(evt);
179  }
180  });
181 
182  buttonGroup1.add(keepCurrentViewerRB);
183  org.openide.awt.Mnemonics.setLocalizedText(keepCurrentViewerRB, org.openide.util.NbBundle.getMessage(AutopsyOptionsPanel.class, "AutopsyOptionsPanel.keepCurrentViewerRB.text")); // NOI18N
184  keepCurrentViewerRB.setToolTipText(org.openide.util.NbBundle.getMessage(AutopsyOptionsPanel.class, "AutopsyOptionsPanel.keepCurrentViewerRB.toolTipText")); // NOI18N
185  keepCurrentViewerRB.addActionListener(new java.awt.event.ActionListener() {
186  public void actionPerformed(java.awt.event.ActionEvent evt) {
187  keepCurrentViewerRBActionPerformed(evt);
188  }
189  });
190 
191  org.openide.awt.Mnemonics.setLocalizedText(jLabelSelectFile, org.openide.util.NbBundle.getMessage(AutopsyOptionsPanel.class, "AutopsyOptionsPanel.jLabelSelectFile.text")); // NOI18N
192 
193  org.openide.awt.Mnemonics.setLocalizedText(jLabelTimeDisplay, org.openide.util.NbBundle.getMessage(AutopsyOptionsPanel.class, "AutopsyOptionsPanel.jLabelTimeDisplay.text")); // NOI18N
194 
195  buttonGroup3.add(useLocalTimeRB);
196  org.openide.awt.Mnemonics.setLocalizedText(useLocalTimeRB, org.openide.util.NbBundle.getMessage(AutopsyOptionsPanel.class, "AutopsyOptionsPanel.useLocalTimeRB.text")); // NOI18N
197  useLocalTimeRB.addActionListener(new java.awt.event.ActionListener() {
198  public void actionPerformed(java.awt.event.ActionEvent evt) {
199  useLocalTimeRBActionPerformed(evt);
200  }
201  });
202 
203  buttonGroup3.add(useGMTTimeRB);
204  org.openide.awt.Mnemonics.setLocalizedText(useGMTTimeRB, org.openide.util.NbBundle.getMessage(AutopsyOptionsPanel.class, "AutopsyOptionsPanel.useGMTTimeRB.text")); // NOI18N
205  useGMTTimeRB.addActionListener(new java.awt.event.ActionListener() {
206  public void actionPerformed(java.awt.event.ActionEvent evt) {
207  useGMTTimeRBActionPerformed(evt);
208  }
209  });
210 
211  org.openide.awt.Mnemonics.setLocalizedText(jLabelHideKnownFiles, org.openide.util.NbBundle.getMessage(AutopsyOptionsPanel.class, "AutopsyOptionsPanel.jLabelHideKnownFiles.text")); // NOI18N
212 
213  org.openide.awt.Mnemonics.setLocalizedText(dataSourcesHideKnownCB, org.openide.util.NbBundle.getMessage(AutopsyOptionsPanel.class, "AutopsyOptionsPanel.dataSourcesHideKnownCB.text")); // NOI18N
214  dataSourcesHideKnownCB.addActionListener(new java.awt.event.ActionListener() {
215  public void actionPerformed(java.awt.event.ActionEvent evt) {
216  dataSourcesHideKnownCBActionPerformed(evt);
217  }
218  });
219 
220  org.openide.awt.Mnemonics.setLocalizedText(viewsHideKnownCB, org.openide.util.NbBundle.getMessage(AutopsyOptionsPanel.class, "AutopsyOptionsPanel.viewsHideKnownCB.text")); // NOI18N
221  viewsHideKnownCB.addActionListener(new java.awt.event.ActionListener() {
222  public void actionPerformed(java.awt.event.ActionEvent evt) {
223  viewsHideKnownCBActionPerformed(evt);
224  }
225  });
226 
227  org.openide.awt.Mnemonics.setLocalizedText(jLabelNumThreads, org.openide.util.NbBundle.getMessage(AutopsyOptionsPanel.class, "AutopsyOptionsPanel.jLabelNumThreads.text")); // NOI18N
228 
229  numberOfFileIngestThreadsComboBox.addActionListener(new java.awt.event.ActionListener() {
230  public void actionPerformed(java.awt.event.ActionEvent evt) {
231  numberOfFileIngestThreadsComboBoxActionPerformed(evt);
232  }
233  });
234 
235  restartRequiredLabel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/sleuthkit/autopsy/corecomponents/warning16.png"))); // NOI18N
236  org.openide.awt.Mnemonics.setLocalizedText(restartRequiredLabel, org.openide.util.NbBundle.getMessage(AutopsyOptionsPanel.class, "AutopsyOptionsPanel.restartRequiredLabel.text")); // NOI18N
237 
238  org.openide.awt.Mnemonics.setLocalizedText(jLabelSetProcessTimeOut, org.openide.util.NbBundle.getMessage(AutopsyOptionsPanel.class, "AutopsyOptionsPanel.jLabelSetProcessTimeOut.text")); // NOI18N
239 
240  org.openide.awt.Mnemonics.setLocalizedText(jCheckBoxEnableProcTimeout, org.openide.util.NbBundle.getMessage(AutopsyOptionsPanel.class, "AutopsyOptionsPanel.jCheckBoxEnableProcTimeout.text")); // NOI18N
241  jCheckBoxEnableProcTimeout.addActionListener(new java.awt.event.ActionListener() {
242  public void actionPerformed(java.awt.event.ActionEvent evt) {
243  jCheckBoxEnableProcTimeoutActionPerformed(evt);
244  }
245  });
246 
247  org.openide.awt.Mnemonics.setLocalizedText(jLabelProcessTimeOutUnits, org.openide.util.NbBundle.getMessage(AutopsyOptionsPanel.class, "AutopsyOptionsPanel.jLabelProcessTimeOutUnits.text")); // NOI18N
248 
249  jFormattedTextFieldProcTimeOutHrs.setText(org.openide.util.NbBundle.getMessage(AutopsyOptionsPanel.class, "AutopsyOptionsPanel.jFormattedTextFieldProcTimeOutHrs.text")); // NOI18N
250  jFormattedTextFieldProcTimeOutHrs.addActionListener(new java.awt.event.ActionListener() {
251  public void actionPerformed(java.awt.event.ActionEvent evt) {
252  jFormattedTextFieldProcTimeOutHrsActionPerformed(evt);
253  }
254  });
255 
256  javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
257  jPanel1.setLayout(jPanel1Layout);
258  jPanel1Layout.setHorizontalGroup(
259  jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
260  .addGroup(jPanel1Layout.createSequentialGroup()
261  .addContainerGap()
262  .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
263  .addGroup(jPanel1Layout.createSequentialGroup()
264  .addGap(10, 10, 10)
265  .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
266  .addComponent(keepCurrentViewerRB)
267  .addComponent(useBestViewerRB)
268  .addComponent(dataSourcesHideKnownCB)
269  .addComponent(viewsHideKnownCB)
270  .addGroup(jPanel1Layout.createSequentialGroup()
271  .addComponent(numberOfFileIngestThreadsComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
272  .addGap(18, 18, 18)
273  .addComponent(restartRequiredLabel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
274  .addGroup(jPanel1Layout.createSequentialGroup()
275  .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
276  .addComponent(jLabelHideKnownFiles)
277  .addComponent(jLabelTimeDisplay)
278  .addGroup(jPanel1Layout.createSequentialGroup()
279  .addGap(10, 10, 10)
280  .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
281  .addComponent(useLocalTimeRB)
282  .addComponent(useGMTTimeRB)))
283  .addComponent(jLabelSelectFile)
284  .addComponent(jLabelNumThreads)
285  .addGroup(jPanel1Layout.createSequentialGroup()
286  .addGap(10, 10, 10)
287  .addComponent(jCheckBoxEnableProcTimeout)
288  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
289  .addComponent(jFormattedTextFieldProcTimeOutHrs, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE)
290  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
291  .addComponent(jLabelProcessTimeOutUnits))
292  .addComponent(jLabelSetProcessTimeOut))
293  .addGap(213, 213, 213)))
294  .addContainerGap())
295  );
296  jPanel1Layout.setVerticalGroup(
297  jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
298  .addGroup(jPanel1Layout.createSequentialGroup()
299  .addContainerGap()
300  .addComponent(jLabelSelectFile)
301  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
302  .addComponent(useBestViewerRB)
303  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
304  .addComponent(keepCurrentViewerRB)
305  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
306  .addComponent(jLabelHideKnownFiles)
307  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
308  .addComponent(dataSourcesHideKnownCB)
309  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
310  .addComponent(viewsHideKnownCB)
311  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
312  .addComponent(jLabelTimeDisplay)
313  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
314  .addComponent(useLocalTimeRB)
315  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
316  .addComponent(useGMTTimeRB)
317  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
318  .addComponent(jLabelNumThreads)
319  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
320  .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
321  .addComponent(numberOfFileIngestThreadsComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
322  .addComponent(restartRequiredLabel))
323  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
324  .addComponent(jLabelSetProcessTimeOut)
325  .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
326  .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
327  .addComponent(jCheckBoxEnableProcTimeout)
328  .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
329  .addComponent(jFormattedTextFieldProcTimeOutHrs, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
330  .addComponent(jLabelProcessTimeOutUnits)))
331  .addContainerGap())
332  );
333 
334  jScrollPane1.setViewportView(jPanel1);
335 
336  javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
337  this.setLayout(layout);
338  layout.setHorizontalGroup(
339  layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
340  .addComponent(jScrollPane1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 657, Short.MAX_VALUE)
341  );
342  layout.setVerticalGroup(
343  layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
344  .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 402, Short.MAX_VALUE)
345  );
346  }// </editor-fold>//GEN-END:initComponents
347 
348  private void jCheckBoxEnableProcTimeoutActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCheckBoxEnableProcTimeoutActionPerformed
349  jFormattedTextFieldProcTimeOutHrs.setEditable(jCheckBoxEnableProcTimeout.isSelected());
350  firePropertyChange(OptionsPanelController.PROP_CHANGED, null, null);
351  }//GEN-LAST:event_jCheckBoxEnableProcTimeoutActionPerformed
352 
353  private void useBestViewerRBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_useBestViewerRBActionPerformed
354  firePropertyChange(OptionsPanelController.PROP_CHANGED, null, null);
355  }//GEN-LAST:event_useBestViewerRBActionPerformed
356 
357  private void keepCurrentViewerRBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_keepCurrentViewerRBActionPerformed
358  firePropertyChange(OptionsPanelController.PROP_CHANGED, null, null);
359  }//GEN-LAST:event_keepCurrentViewerRBActionPerformed
360 
361  private void dataSourcesHideKnownCBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_dataSourcesHideKnownCBActionPerformed
362  firePropertyChange(OptionsPanelController.PROP_CHANGED, null, null);
363  }//GEN-LAST:event_dataSourcesHideKnownCBActionPerformed
364 
365  private void viewsHideKnownCBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_viewsHideKnownCBActionPerformed
366  firePropertyChange(OptionsPanelController.PROP_CHANGED, null, null);
367  }//GEN-LAST:event_viewsHideKnownCBActionPerformed
368 
369  private void useLocalTimeRBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_useLocalTimeRBActionPerformed
370  firePropertyChange(OptionsPanelController.PROP_CHANGED, null, null);
371  }//GEN-LAST:event_useLocalTimeRBActionPerformed
372 
373  private void useGMTTimeRBActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_useGMTTimeRBActionPerformed
374  firePropertyChange(OptionsPanelController.PROP_CHANGED, null, null);
375  }//GEN-LAST:event_useGMTTimeRBActionPerformed
376 
377  private void numberOfFileIngestThreadsComboBoxActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_numberOfFileIngestThreadsComboBoxActionPerformed
378  firePropertyChange(OptionsPanelController.PROP_CHANGED, null, null);
379  }//GEN-LAST:event_numberOfFileIngestThreadsComboBoxActionPerformed
380 
381  private void jFormattedTextFieldProcTimeOutHrsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jFormattedTextFieldProcTimeOutHrsActionPerformed
382  firePropertyChange(OptionsPanelController.PROP_CHANGED, null, null);
383  }//GEN-LAST:event_jFormattedTextFieldProcTimeOutHrsActionPerformed
384 
385  // Variables declaration - do not modify//GEN-BEGIN:variables
386  private javax.swing.ButtonGroup buttonGroup1;
387  private javax.swing.ButtonGroup buttonGroup3;
388  private javax.swing.JCheckBox dataSourcesHideKnownCB;
389  private javax.swing.JCheckBox jCheckBoxEnableProcTimeout;
390  private javax.swing.JFormattedTextField jFormattedTextFieldProcTimeOutHrs;
391  private javax.swing.JLabel jLabelHideKnownFiles;
392  private javax.swing.JLabel jLabelNumThreads;
393  private javax.swing.JLabel jLabelProcessTimeOutUnits;
394  private javax.swing.JLabel jLabelSelectFile;
395  private javax.swing.JLabel jLabelSetProcessTimeOut;
396  private javax.swing.JLabel jLabelTimeDisplay;
397  private javax.swing.JPanel jPanel1;
398  private javax.swing.JScrollPane jScrollPane1;
399  private javax.swing.JRadioButton keepCurrentViewerRB;
400  private javax.swing.JComboBox<Integer> numberOfFileIngestThreadsComboBox;
401  private javax.swing.JLabel restartRequiredLabel;
402  private javax.swing.JRadioButton useBestViewerRB;
403  private javax.swing.JRadioButton useGMTTimeRB;
404  private javax.swing.JRadioButton useLocalTimeRB;
405  private javax.swing.JCheckBox viewsHideKnownCB;
406  // End of variables declaration//GEN-END:variables
407 }

Copyright © 2012-2016 Basis Technology. Generated on: Tue Oct 25 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.