From 458cde365e558c9c06ca88de45645748aa2fc72d Mon Sep 17 00:00:00 2001 From: Oliver Spohngellert Date: Tue, 8 Mar 2016 10:47:02 -0500 Subject: [PATCH] Started progress --- .../autopsy/filesearch/MimeTypePanel.form | 60 ++++++++++++++++ .../autopsy/filesearch/MimeTypePanel.java | 68 +++++++++++++++++++ 2 files changed, 128 insertions(+) create mode 100755 Core/src/org/sleuthkit/autopsy/filesearch/MimeTypePanel.form create mode 100755 Core/src/org/sleuthkit/autopsy/filesearch/MimeTypePanel.java diff --git a/Core/src/org/sleuthkit/autopsy/filesearch/MimeTypePanel.form b/Core/src/org/sleuthkit/autopsy/filesearch/MimeTypePanel.form new file mode 100755 index 0000000000..eb170ef6ab --- /dev/null +++ b/Core/src/org/sleuthkit/autopsy/filesearch/MimeTypePanel.form @@ -0,0 +1,60 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/Core/src/org/sleuthkit/autopsy/filesearch/MimeTypePanel.java b/Core/src/org/sleuthkit/autopsy/filesearch/MimeTypePanel.java new file mode 100755 index 0000000000..ff9146151f --- /dev/null +++ b/Core/src/org/sleuthkit/autopsy/filesearch/MimeTypePanel.java @@ -0,0 +1,68 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package org.sleuthkit.autopsy.filesearch; + +/** + * + * @author oliver + */ +public class MimeTypePanel extends javax.swing.JPanel { + + /** + * Creates new form MimeTypePanel + */ + public MimeTypePanel() { + initComponents(); + customInit(); + } + + void customInit() { + + } + + /** + * 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() { + + jScrollPane1 = new javax.swing.JScrollPane(); + jList1 = new javax.swing.JList(); + + jList1.setModel(new javax.swing.AbstractListModel() { + String[] strings = { "Item 1", "Item 2", "Item 3", "Item 4", "Item 5" }; + public int getSize() { return strings.length; } + public Object getElementAt(int i) { return strings[i]; } + }); + jScrollPane1.setViewportView(jList1); + + javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this); + this.setLayout(layout); + layout.setHorizontalGroup( + layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(layout.createSequentialGroup() + .addContainerGap() + .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 380, Short.MAX_VALUE) + .addContainerGap()) + ); + layout.setVerticalGroup( + layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) + .addGroup(layout.createSequentialGroup() + .addContainerGap() + .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE) + .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) + ); + }// //GEN-END:initComponents + + + // Variables declaration - do not modify//GEN-BEGIN:variables + private javax.swing.JList jList1; + private javax.swing.JScrollPane jScrollPane1; + // End of variables declaration//GEN-END:variables +}