/*
* SPDXVersion: SPDX-1.1
*
* Creator: Person: Nuno Brito (nuno.brito@triplecheck.de)
*
* Creator: Organization: TripleCheck (contact@triplecheck.de)
*
* Created: 2013-09-14T00:00:00Z
*
* LicenseName: NOASSERTION
*
* FileName: Editor.java
*
* FileType: SOURCE
*
* FileCopyrightText: <text> Copyright 2013 Nuno Brito, TripleCheck </text>
*
* FileComment: <text> The editor of SPDX </text>
*/
package GUI;
import definitions.is;
import java.awt.Toolkit;
import java.net.URL;
import javax.swing.UIManager;
/**
*
* @author Nuno Brito
*/
public class Editor extends javax.swing.JFrame {
/**
* Creates new form Editor
*/
public Editor() {
// adopt the default user interface menus and buttons
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (Exception ex) {}
// get the window icon working
URL imgURL = this.getClass().getResource(is.defaultIcon);
setIconImage(Toolkit.getDefaultToolkit().getImage(imgURL));
initComponents();
doSettings();
}
/**
* 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")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jTabbedPane3 = new javax.swing.JTabbedPane();
panelBasic = new javax.swing.JPanel();
jScrollPane9 = new javax.swing.JScrollPane();
jTextArea1 = new javax.swing.JTextArea();
jLabel10 = new javax.swing.JLabel();
jLabel11 = new javax.swing.JLabel();
jComboBox1 = new javax.swing.JComboBox();
jLabel13 = new javax.swing.JLabel();
textStoreSPDX7 = new javax.swing.JTextField();
jLabel14 = new javax.swing.JLabel();
jLabel15 = new javax.swing.JLabel();
textStoreSPDX8 = new javax.swing.JTextField();
jLabel16 = new javax.swing.JLabel();
textStoreSPDX9 = new javax.swing.JTextField();
jLabel17 = new javax.swing.JLabel();
textStoreSPDX10 = new javax.swing.JTextField();
jScrollPane10 = new javax.swing.JScrollPane();
jTextArea2 = new javax.swing.JTextArea();
jLabel18 = new javax.swing.JLabel();
jLabel36 = new javax.swing.JLabel();
textStoreSPDX25 = new javax.swing.JTextField();
jLabel43 = new javax.swing.JLabel();
textStoreSPDX31 = new javax.swing.JTextField();
jButton13 = new javax.swing.JButton();
panelPackage = new javax.swing.JPanel();
jLabel5 = new javax.swing.JLabel();
textStoreSPDX2 = new javax.swing.JTextField();
jLabel6 = new javax.swing.JLabel();
textStoreSPDX3 = new javax.swing.JTextField();
jLabel7 = new javax.swing.JLabel();
textStoreSPDX4 = new javax.swing.JTextField();
jLabel9 = new javax.swing.JLabel();
textStoreSPDX6 = new javax.swing.JTextField();
jLabel12 = new javax.swing.JLabel();
textStoreSPDX11 = new javax.swing.JTextField();
jLabel19 = new javax.swing.JLabel();
textStoreSPDX12 = new javax.swing.JTextField();
jLabel23 = new javax.swing.JLabel();
jScrollPane13 = new javax.swing.JScrollPane();
jTextArea4 = new javax.swing.JTextArea();
jLabel25 = new javax.swing.JLabel();
textStoreSPDX15 = new javax.swing.JTextField();
jLabel26 = new javax.swing.JLabel();
jScrollPane15 = new javax.swing.JScrollPane();
jTextArea6 = new javax.swing.JTextArea();
panelLicenses = new javax.swing.JPanel();
jLabel8 = new javax.swing.JLabel();
textStoreSPDX5 = new javax.swing.JTextField();
jLabel20 = new javax.swing.JLabel();
textStoreSPDX13 = new javax.swing.JTextField();
jButton7 = new javax.swing.JButton();
jScrollPane11 = new javax.swing.JScrollPane();
jList1 = new javax.swing.JList();
jButton8 = new javax.swing.JButton();
jLabel21 = new javax.swing.JLabel();
textStoreSPDX14 = new javax.swing.JTextField();
jLabel22 = new javax.swing.JLabel();
jScrollPane12 = new javax.swing.JScrollPane();
jTextArea3 = new javax.swing.JTextArea();
jScrollPane14 = new javax.swing.JScrollPane();
jTextArea5 = new javax.swing.JTextArea();
jLabel24 = new javax.swing.JLabel();
panelFiles = new javax.swing.JPanel();
jSplitPane3 = new javax.swing.JSplitPane();
jScrollPane8 = new javax.swing.JScrollPane();
jTree4 = new javax.swing.JTree();
jPanel9 = new javax.swing.JPanel();
textStoreSPDX16 = new javax.swing.JTextField();
jLabel27 = new javax.swing.JLabel();
jButton9 = new javax.swing.JButton();
textStoreSPDX17 = new javax.swing.JTextField();
jLabel28 = new javax.swing.JLabel();
jButton10 = new javax.swing.JButton();
jScrollPane7 = new javax.swing.JScrollPane();
jTextArea7 = new javax.swing.JTextArea();
jLabel30 = new javax.swing.JLabel();
jScrollPane16 = new javax.swing.JScrollPane();
jTextArea8 = new javax.swing.JTextArea();
jScrollPane17 = new javax.swing.JScrollPane();
jTextArea9 = new javax.swing.JTextArea();
jLabel32 = new javax.swing.JLabel();
textStoreSPDX18 = new javax.swing.JTextField();
jButton11 = new javax.swing.JButton();
textStoreSPDX19 = new javax.swing.JTextField();
textStoreSPDX20 = new javax.swing.JTextField();
jButton3 = new javax.swing.JButton();
jButton4 = new javax.swing.JButton();
panelReview = new javax.swing.JPanel();
jLabel29 = new javax.swing.JLabel();
jLabel31 = new javax.swing.JLabel();
textStoreSPDX21 = new javax.swing.JTextField();
jLabel33 = new javax.swing.JLabel();
textStoreSPDX22 = new javax.swing.JTextField();
jLabel34 = new javax.swing.JLabel();
textStoreSPDX23 = new javax.swing.JTextField();
jLabel35 = new javax.swing.JLabel();
textStoreSPDX24 = new javax.swing.JTextField();
jLabel37 = new javax.swing.JLabel();
textStoreSPDX26 = new javax.swing.JTextField();
jButton12 = new javax.swing.JButton();
jScrollPane18 = new javax.swing.JScrollPane();
jTextArea10 = new javax.swing.JTextArea();
jLabel38 = new javax.swing.JLabel();
jButton15 = new javax.swing.JButton();
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
setTitle("Editor");
setLocationByPlatform(true);
jTextArea1.setColumns(20);
jTextArea1.setLineWrap(true);
jTextArea1.setRows(3);
jTextArea1.setWrapStyleWord(true);
jScrollPane9.setViewportView(jTextArea1);
jLabel10.setText("Document comment");
jLabel11.setText("Data license");
jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
jLabel13.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
jLabel13.setText("Document creator");
textStoreSPDX7.setText(" ");
jLabel14.setText("Person");
jLabel15.setText("Organization");
textStoreSPDX8.setText(" ");
jLabel16.setText("Email contact of organization");
textStoreSPDX9.setText(" ");
jLabel17.setText("Email contact of person");
textStoreSPDX10.setText(" ");
jTextArea2.setColumns(20);
jTextArea2.setLineWrap(true);
jTextArea2.setRows(3);
jTextArea2.setWrapStyleWord(true);
jScrollPane10.setViewportView(jTextArea2);
jLabel18.setText("Creator comment (optional)");
jLabel36.setText("Tool");
textStoreSPDX25.setText(" ");
jLabel43.setText("Creation time");
textStoreSPDX31.setText(" ");
textStoreSPDX31.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
textStoreSPDX31ActionPerformed(evt);
}
});
jButton13.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/alarm-clock.png"))); // NOI18N
jButton13.setText("Add time \"now\"");
jButton13.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton13ActionPerformed(evt);
}
});
javax.swing.GroupLayout panelBasicLayout = new javax.swing.GroupLayout(panelBasic);
panelBasic.setLayout(panelBasicLayout);
panelBasicLayout.setHorizontalGroup(
panelBasicLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelBasicLayout.createSequentialGroup()
.addContainerGap()
.addGroup(panelBasicLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelBasicLayout.createSequentialGroup()
.addGroup(panelBasicLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel10)
.addGroup(panelBasicLayout.createSequentialGroup()
.addComponent(jLabel11)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, 122, javax.swing.GroupLayout.PREFERRED_SIZE))
.addComponent(jLabel13)
.addGroup(panelBasicLayout.createSequentialGroup()
.addGroup(panelBasicLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel15)
.addComponent(textStoreSPDX8, javax.swing.GroupLayout.PREFERRED_SIZE, 153, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(panelBasicLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel16)
.addComponent(textStoreSPDX9, javax.swing.GroupLayout.PREFERRED_SIZE, 153, javax.swing.GroupLayout.PREFERRED_SIZE))))
.addGap(101, 101, 101))
.addGroup(panelBasicLayout.createSequentialGroup()
.addGroup(panelBasicLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel14)
.addComponent(textStoreSPDX7, javax.swing.GroupLayout.PREFERRED_SIZE, 153, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(panelBasicLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelBasicLayout.createSequentialGroup()
.addComponent(jLabel17)
.addGap(0, 221, Short.MAX_VALUE))
.addComponent(textStoreSPDX10))
.addGap(31, 31, 31))
.addGroup(panelBasicLayout.createSequentialGroup()
.addGroup(panelBasicLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelBasicLayout.createSequentialGroup()
.addComponent(textStoreSPDX25, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(textStoreSPDX31)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jButton13))
.addGroup(panelBasicLayout.createSequentialGroup()
.addGroup(panelBasicLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel18)
.addGroup(panelBasicLayout.createSequentialGroup()
.addComponent(jLabel36)
.addGap(78, 78, 78)
.addComponent(jLabel43)))
.addGap(0, 0, Short.MAX_VALUE)))
.addContainerGap())
.addGroup(panelBasicLayout.createSequentialGroup()
.addGroup(panelBasicLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jScrollPane9)
.addComponent(jScrollPane10))
.addContainerGap())))
);
panelBasicLayout.setVerticalGroup(
panelBasicLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelBasicLayout.createSequentialGroup()
.addContainerGap()
.addGroup(panelBasicLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel11)
.addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jLabel10)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane9, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(18, 18, 18)
.addGroup(panelBasicLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addGroup(panelBasicLayout.createSequentialGroup()
.addComponent(jLabel13)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel14)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(textStoreSPDX7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(panelBasicLayout.createSequentialGroup()
.addComponent(jLabel17)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(textStoreSPDX10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(panelBasicLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addGroup(panelBasicLayout.createSequentialGroup()
.addComponent(jLabel16)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(textStoreSPDX9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(panelBasicLayout.createSequentialGroup()
.addComponent(jLabel15)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(textStoreSPDX8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addGroup(panelBasicLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel36)
.addComponent(jLabel43))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(panelBasicLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(textStoreSPDX25, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(textStoreSPDX31, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jButton13))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jLabel18)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(27, 27, 27))
);
jTabbedPane3.addTab("Document", new javax.swing.ImageIcon(getClass().getResource("/icons/postage-stamp.png")), panelBasic); // NOI18N
jLabel5.setText("Package name");
textStoreSPDX2.setText(" ");
jLabel6.setText("Version (optional)");
textStoreSPDX3.setText(" ");
jLabel7.setText("Package direct download location");
textStoreSPDX4.setText(" ");
jLabel9.setText("Package filename (optional)");
textStoreSPDX6.setText(" ");
jLabel12.setText("Package supplier (optional)");
textStoreSPDX11.setText(" ");
jLabel19.setText("Package Originator (optional)");
textStoreSPDX12.setText(" ");
jLabel23.setText("Source information (optional)");
jTextArea4.setColumns(20);
jTextArea4.setLineWrap(true);
jTextArea4.setRows(2);
jTextArea4.setWrapStyleWord(true);
jScrollPane13.setViewportView(jTextArea4);
jLabel25.setText("Summary description (optional)");
textStoreSPDX15.setText(" ");
jLabel26.setText("Detailed description (optional)");
jTextArea6.setColumns(20);
jTextArea6.setLineWrap(true);
jTextArea6.setRows(2);
jTextArea6.setWrapStyleWord(true);
jScrollPane15.setViewportView(jTextArea6);
javax.swing.GroupLayout panelPackageLayout = new javax.swing.GroupLayout(panelPackage);
panelPackage.setLayout(panelPackageLayout);
panelPackageLayout.setHorizontalGroup(
panelPackageLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelPackageLayout.createSequentialGroup()
.addContainerGap()
.addGroup(panelPackageLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelPackageLayout.createSequentialGroup()
.addComponent(jLabel7)
.addGap(258, 258, 258))
.addGroup(panelPackageLayout.createSequentialGroup()
.addGroup(panelPackageLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel23)
.addComponent(jLabel26))
.addGap(0, 0, Short.MAX_VALUE))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelPackageLayout.createSequentialGroup()
.addGroup(panelPackageLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(jScrollPane13, javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.LEADING, panelPackageLayout.createSequentialGroup()
.addGroup(panelPackageLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelPackageLayout.createSequentialGroup()
.addComponent(jLabel5)
.addGap(0, 0, Short.MAX_VALUE))
.addComponent(textStoreSPDX2))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(panelPackageLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel6)
.addComponent(textStoreSPDX3, javax.swing.GroupLayout.PREFERRED_SIZE, 108, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGroup(javax.swing.GroupLayout.Alignment.LEADING, panelPackageLayout.createSequentialGroup()
.addGroup(panelPackageLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel9)
.addComponent(textStoreSPDX4, javax.swing.GroupLayout.DEFAULT_SIZE, 360, Short.MAX_VALUE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGroup(panelPackageLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(jLabel12)
.addComponent(textStoreSPDX11, javax.swing.GroupLayout.PREFERRED_SIZE, 147, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addComponent(textStoreSPDX12, javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(textStoreSPDX6)
.addComponent(textStoreSPDX15, javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jScrollPane15)
.addGroup(javax.swing.GroupLayout.Alignment.LEADING, panelPackageLayout.createSequentialGroup()
.addGroup(panelPackageLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(jLabel19, javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel25, javax.swing.GroupLayout.Alignment.LEADING))
.addGap(0, 0, Short.MAX_VALUE)))
.addContainerGap())))
);
panelPackageLayout.setVerticalGroup(
panelPackageLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelPackageLayout.createSequentialGroup()
.addContainerGap()
.addGroup(panelPackageLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelPackageLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel5)
.addComponent(jLabel6))
.addGroup(panelPackageLayout.createSequentialGroup()
.addGap(20, 20, 20)
.addGroup(panelPackageLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(textStoreSPDX3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(textStoreSPDX2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(panelPackageLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addGroup(panelPackageLayout.createSequentialGroup()
.addComponent(jLabel9)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(panelPackageLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(textStoreSPDX4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(textStoreSPDX11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGroup(panelPackageLayout.createSequentialGroup()
.addComponent(jLabel12)
.addGap(26, 26, 26)))
.addComponent(jLabel19)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(textStoreSPDX12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jLabel7)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(textStoreSPDX6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel23)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane13, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel25)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(textStoreSPDX15, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jLabel26)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane15, javax.swing.GroupLayout.DEFAULT_SIZE, 59, Short.MAX_VALUE)
.addContainerGap())
);
jTabbedPane3.addTab("Package", new javax.swing.ImageIcon(getClass().getResource("/icons/wooden-box-label.png")), panelPackage); // NOI18N
jLabel8.setText("Concluded license");
textStoreSPDX5.setText(" ");
jLabel20.setText("All licenses information from Files");
textStoreSPDX13.setText(" ");
jButton7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/medal--plus.png"))); // NOI18N
jButton7.setText("Add");
jButton7.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton7ActionPerformed(evt);
}
});
jScrollPane11.setViewportView(jList1);
jButton8.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/medal--minus.png"))); // NOI18N
jButton8.setText("Remove");
jButton8.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton8ActionPerformed(evt);
}
});
jLabel21.setText("Declared license");
textStoreSPDX14.setText(" ");
jLabel22.setText("Comments on license (optional)");
jTextArea3.setColumns(20);
jTextArea3.setLineWrap(true);
jTextArea3.setRows(3);
jTextArea3.setWrapStyleWord(true);
jScrollPane12.setViewportView(jTextArea3);
jTextArea5.setColumns(20);
jTextArea5.setLineWrap(true);
jTextArea5.setRows(2);
jTextArea5.setText("NOASSERTION | NONE");
jTextArea5.setWrapStyleWord(true);
jScrollPane14.setViewportView(jTextArea5);
jLabel24.setText("Copyright text");
javax.swing.GroupLayout panelLicensesLayout = new javax.swing.GroupLayout(panelLicenses);
panelLicenses.setLayout(panelLicensesLayout);
panelLicensesLayout.setHorizontalGroup(
panelLicensesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelLicensesLayout.createSequentialGroup()
.addContainerGap()
.addGroup(panelLicensesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelLicensesLayout.createSequentialGroup()
.addGroup(panelLicensesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelLicensesLayout.createSequentialGroup()
.addComponent(textStoreSPDX13)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jButton7))
.addGroup(panelLicensesLayout.createSequentialGroup()
.addComponent(jScrollPane11, javax.swing.GroupLayout.DEFAULT_SIZE, 420, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jButton8))
.addComponent(jScrollPane12)
.addGroup(panelLicensesLayout.createSequentialGroup()
.addComponent(jLabel22)
.addGap(0, 0, Short.MAX_VALUE))
.addComponent(jScrollPane14, javax.swing.GroupLayout.Alignment.TRAILING))
.addContainerGap())
.addGroup(panelLicensesLayout.createSequentialGroup()
.addGroup(panelLicensesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel20)
.addGroup(panelLicensesLayout.createSequentialGroup()
.addGroup(panelLicensesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel8)
.addComponent(textStoreSPDX5, javax.swing.GroupLayout.PREFERRED_SIZE, 163, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(panelLicensesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel21)
.addComponent(textStoreSPDX14, javax.swing.GroupLayout.PREFERRED_SIZE, 163, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addComponent(jLabel24))
.addGap(0, 0, Short.MAX_VALUE))))
);
panelLicensesLayout.setVerticalGroup(
panelLicensesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelLicensesLayout.createSequentialGroup()
.addContainerGap()
.addGroup(panelLicensesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addGroup(panelLicensesLayout.createSequentialGroup()
.addComponent(jLabel8)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(textStoreSPDX5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(panelLicensesLayout.createSequentialGroup()
.addComponent(jLabel21)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(textStoreSPDX14, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGap(18, 18, 18)
.addComponent(jLabel20)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(panelLicensesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(textStoreSPDX13, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jButton7))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(panelLicensesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(jScrollPane11, javax.swing.GroupLayout.PREFERRED_SIZE, 74, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jButton8))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jLabel22)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane12, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jLabel24)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane14, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(55, Short.MAX_VALUE))
);
jTabbedPane3.addTab("Licenses", new javax.swing.ImageIcon(getClass().getResource("/icons/medal-premium.png")), panelLicenses); // NOI18N
jSplitPane3.setBorder(null);
jSplitPane3.setResizeWeight(0.3);
jTree4.setMaximumSize(new java.awt.Dimension(372, 64));
jTree4.setPreferredSize(new java.awt.Dimension(100, 64));
jScrollPane8.setViewportView(jTree4);
jSplitPane3.setLeftComponent(jScrollPane8);
jPanel9.setPreferredSize(new java.awt.Dimension(219, 331));
textStoreSPDX16.setText(" ");
jLabel27.setText("Concluded license for this file");
jButton9.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/medal--plus.png"))); // NOI18N
jButton9.setText("Save");
jButton9.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton9ActionPerformed(evt);
}
});
textStoreSPDX17.setText(" ");
jLabel28.setText("License information in file");
jButton10.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/medal--plus.png"))); // NOI18N
jButton10.setText("Change");
jButton10.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton10ActionPerformed(evt);
}
});
jTextArea7.setColumns(20);
jTextArea7.setFont(new java.awt.Font("Arial", 0, 10)); // NOI18N
jTextArea7.setLineWrap(true);
jTextArea7.setRows(1);
jTextArea7.setText("<comments on license>");
jTextArea7.setWrapStyleWord(true);
jScrollPane7.setViewportView(jTextArea7);
jLabel30.setText("Copyright text");
jTextArea8.setColumns(20);
jTextArea8.setLineWrap(true);
jTextArea8.setRows(1);
jTextArea8.setText("NOASSERTION | NONE");
jTextArea8.setWrapStyleWord(true);
jScrollPane16.setViewportView(jTextArea8);
jTextArea9.setColumns(20);
jTextArea9.setFont(new java.awt.Font("Arial", 0, 10)); // NOI18N
jTextArea9.setLineWrap(true);
jTextArea9.setRows(1);
jTextArea9.setText("<file comment>");
jTextArea9.setWrapStyleWord(true);
jScrollPane17.setViewportView(jTextArea9);
jLabel32.setText("Artifact of project name (optional)");
textStoreSPDX18.setText(" ");
jButton11.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/paper-bag--plus.png"))); // NOI18N
jButton11.setText("Save");
jButton11.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton11ActionPerformed(evt);
}
});
textStoreSPDX19.setText("<Artifact of project homepage (optional)>");
textStoreSPDX20.setText("<Artifact of Project with URI (optional)>");
javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);
jPanel9.setLayout(jPanel9Layout);
jPanel9Layout.setHorizontalGroup(
jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel9Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel9Layout.createSequentialGroup()
.addComponent(jLabel30)
.addGap(200, 277, Short.MAX_VALUE))
.addComponent(jScrollPane7)
.addComponent(jScrollPane17)
.addComponent(jScrollPane16)
.addGroup(jPanel9Layout.createSequentialGroup()
.addComponent(jLabel27)
.addGap(0, 0, Short.MAX_VALUE))
.addGroup(jPanel9Layout.createSequentialGroup()
.addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel9Layout.createSequentialGroup()
.addComponent(textStoreSPDX16)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jButton9))
.addGroup(jPanel9Layout.createSequentialGroup()
.addComponent(jLabel28)
.addGap(0, 0, Short.MAX_VALUE))
.addGroup(jPanel9Layout.createSequentialGroup()
.addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(textStoreSPDX18)
.addGroup(jPanel9Layout.createSequentialGroup()
.addComponent(jLabel32)
.addGap(0, 0, Short.MAX_VALUE)))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jButton11))
.addComponent(textStoreSPDX19, javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(textStoreSPDX20, javax.swing.GroupLayout.Alignment.TRAILING)
.addGroup(jPanel9Layout.createSequentialGroup()
.addComponent(textStoreSPDX17)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jButton10, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addContainerGap())))
);
jPanel9Layout.setVerticalGroup(
jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel9Layout.createSequentialGroup()
.addComponent(jLabel27)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(textStoreSPDX16, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jButton9))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel28)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(textStoreSPDX17, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jButton10))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jScrollPane7, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel30)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane16, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jScrollPane17, javax.swing.GroupLayout.DEFAULT_SIZE, 34, Short.MAX_VALUE)
.addGap(7, 7, 7)
.addComponent(jLabel32)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(textStoreSPDX18, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jButton11))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(textStoreSPDX19, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(textStoreSPDX20, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap())
);
jSplitPane3.setRightComponent(jPanel9);
jButton3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/plus.png"))); // NOI18N
jButton3.setText("Add files..");
jButton4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/document--minus.png"))); // NOI18N
jButton4.setText("Remove..");
javax.swing.GroupLayout panelFilesLayout = new javax.swing.GroupLayout(panelFiles);
panelFiles.setLayout(panelFilesLayout);
panelFilesLayout.setHorizontalGroup(
panelFilesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelFilesLayout.createSequentialGroup()
.addGap(5, 5, 5)
.addGroup(panelFilesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelFilesLayout.createSequentialGroup()
.addComponent(jButton3)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jButton4)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addComponent(jSplitPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 522, Short.MAX_VALUE))
.addContainerGap())
);
panelFilesLayout.setVerticalGroup(
panelFilesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelFilesLayout.createSequentialGroup()
.addContainerGap()
.addComponent(jSplitPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 347, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(panelFilesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jButton4, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jButton3))
.addContainerGap())
);
jTabbedPane3.addTab("Files", new javax.swing.ImageIcon(getClass().getResource("/icons/document-sticky-note.png")), panelFiles); // NOI18N
jLabel29.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
jLabel29.setText("Reviewer");
jLabel31.setText("Person");
textStoreSPDX21.setText(" ");
jLabel33.setText("Organization");
textStoreSPDX22.setText(" ");
jLabel34.setText("Email contact of person");
textStoreSPDX23.setText(" ");
jLabel35.setText("Email contact of organization");
textStoreSPDX24.setText(" ");
jLabel37.setText("Review date");
textStoreSPDX26.setText(" ");
jButton12.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/alarm-clock.png"))); // NOI18N
jButton12.setText("Add time \"now\"");
jButton12.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton12ActionPerformed(evt);
}
});
jTextArea10.setColumns(20);
jTextArea10.setLineWrap(true);
jTextArea10.setRows(3);
jTextArea10.setWrapStyleWord(true);
jScrollPane18.setViewportView(jTextArea10);
jLabel38.setText("Reviewer comment (optional)");
javax.swing.GroupLayout panelReviewLayout = new javax.swing.GroupLayout(panelReview);
panelReview.setLayout(panelReviewLayout);
panelReviewLayout.setHorizontalGroup(
panelReviewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelReviewLayout.createSequentialGroup()
.addContainerGap()
.addGroup(panelReviewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jScrollPane18, javax.swing.GroupLayout.DEFAULT_SIZE, 517, Short.MAX_VALUE)
.addGroup(panelReviewLayout.createSequentialGroup()
.addGroup(panelReviewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelReviewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addGroup(panelReviewLayout.createSequentialGroup()
.addGroup(panelReviewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel31)
.addComponent(textStoreSPDX21, javax.swing.GroupLayout.PREFERRED_SIZE, 153, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(panelReviewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel34)
.addComponent(textStoreSPDX23)))
.addComponent(jLabel29)
.addGroup(panelReviewLayout.createSequentialGroup()
.addGroup(panelReviewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel33)
.addComponent(textStoreSPDX22, javax.swing.GroupLayout.PREFERRED_SIZE, 153, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(panelReviewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel35)
.addComponent(textStoreSPDX24, javax.swing.GroupLayout.PREFERRED_SIZE, 153, javax.swing.GroupLayout.PREFERRED_SIZE))))
.addComponent(jLabel37)
.addGroup(panelReviewLayout.createSequentialGroup()
.addComponent(textStoreSPDX26, javax.swing.GroupLayout.PREFERRED_SIZE, 153, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jButton12))
.addComponent(jLabel38))
.addGap(0, 0, Short.MAX_VALUE)))
.addContainerGap())
);
panelReviewLayout.setVerticalGroup(
panelReviewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(panelReviewLayout.createSequentialGroup()
.addContainerGap()
.addGroup(panelReviewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addGroup(panelReviewLayout.createSequentialGroup()
.addComponent(jLabel29)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jLabel31)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(panelReviewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(textStoreSPDX21, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(textStoreSPDX23, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGroup(panelReviewLayout.createSequentialGroup()
.addComponent(jLabel34)
.addGap(26, 26, 26)))
.addGroup(panelReviewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addGroup(panelReviewLayout.createSequentialGroup()
.addComponent(jLabel35)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(textStoreSPDX24, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(panelReviewLayout.createSequentialGroup()
.addComponent(jLabel33)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(textStoreSPDX22, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGap(18, 18, 18)
.addComponent(jLabel37)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(panelReviewLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(textStoreSPDX26, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jButton12))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(jLabel38)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane18, javax.swing.GroupLayout.DEFAULT_SIZE, 192, Short.MAX_VALUE)
.addContainerGap())
);
jTabbedPane3.addTab("Review", new javax.swing.ImageIcon(getClass().getResource("/icons/receipt--pencil.png")), panelReview); // NOI18N
jButton15.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/tick.png"))); // NOI18N
jButton15.setText("Save");
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jTabbedPane3, javax.swing.GroupLayout.Alignment.TRAILING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jButton15, javax.swing.GroupLayout.PREFERRED_SIZE, 121, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap())
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(jTabbedPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 446, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jButton15)
.addContainerGap())
);
pack();
}// </editor-fold>//GEN-END:initComponents
private void textStoreSPDX31ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_textStoreSPDX31ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_textStoreSPDX31ActionPerformed
private void jButton13ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton13ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jButton13ActionPerformed
private void jButton7ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton7ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jButton7ActionPerformed
private void jButton8ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton8ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jButton8ActionPerformed
private void jButton9ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton9ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jButton9ActionPerformed
private void jButton10ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton10ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jButton10ActionPerformed
private void jButton11ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton11ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jButton11ActionPerformed
private void jButton12ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton12ActionPerformed
// TODO add your handling code here:
}//GEN-LAST:event_jButton12ActionPerformed
/**
* @param args the command line arguments
*/
public static void main(String args[]) {
/*
* Set the Nimbus look and feel
*/
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/*
* If Nimbus (introduced in Java SE 6) is not available, stay with the
* default look and feel. For details see
* http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
*/
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(Editor.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(Editor.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(Editor.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(Editor.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//</editor-fold>
/*
* Create and display the form
*/
java.awt.EventQueue.invokeLater(new Runnable() {
@Override
public void run() {
new Editor().setVisible(true);
}
});
}
/**
* used during initialisation of this GUI to fill up the proper
* values that were saved before
*/
private void doSettings() {
// textSourceFolder.setText(core.settings.read(is.settings));
// textStoreSPDX.setText(core.settings.read(is.folderSPDX));
}
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton jButton10;
private javax.swing.JButton jButton11;
private javax.swing.JButton jButton12;
private javax.swing.JButton jButton13;
private javax.swing.JButton jButton15;
private javax.swing.JButton jButton3;
private javax.swing.JButton jButton4;
private javax.swing.JButton jButton7;
private javax.swing.JButton jButton8;
private javax.swing.JButton jButton9;
private javax.swing.JComboBox jComboBox1;
private javax.swing.JLabel jLabel10;
private javax.swing.JLabel jLabel11;
private javax.swing.JLabel jLabel12;
private javax.swing.JLabel jLabel13;
private javax.swing.JLabel jLabel14;
private javax.swing.JLabel jLabel15;
private javax.swing.JLabel jLabel16;
private javax.swing.JLabel jLabel17;
private javax.swing.JLabel jLabel18;
private javax.swing.JLabel jLabel19;
private javax.swing.JLabel jLabel20;
private javax.swing.JLabel jLabel21;
private javax.swing.JLabel jLabel22;
private javax.swing.JLabel jLabel23;
private javax.swing.JLabel jLabel24;
private javax.swing.JLabel jLabel25;
private javax.swing.JLabel jLabel26;
private javax.swing.JLabel jLabel27;
private javax.swing.JLabel jLabel28;
private javax.swing.JLabel jLabel29;
private javax.swing.JLabel jLabel30;
private javax.swing.JLabel jLabel31;
private javax.swing.JLabel jLabel32;
private javax.swing.JLabel jLabel33;
private javax.swing.JLabel jLabel34;
private javax.swing.JLabel jLabel35;
private javax.swing.JLabel jLabel36;
private javax.swing.JLabel jLabel37;
private javax.swing.JLabel jLabel38;
private javax.swing.JLabel jLabel43;
private javax.swing.JLabel jLabel5;
private javax.swing.JLabel jLabel6;
private javax.swing.JLabel jLabel7;
private javax.swing.JLabel jLabel8;
private javax.swing.JLabel jLabel9;
private javax.swing.JList jList1;
private javax.swing.JPanel jPanel9;
private javax.swing.JScrollPane jScrollPane10;
private javax.swing.JScrollPane jScrollPane11;
private javax.swing.JScrollPane jScrollPane12;
private javax.swing.JScrollPane jScrollPane13;
private javax.swing.JScrollPane jScrollPane14;
private javax.swing.JScrollPane jScrollPane15;
private javax.swing.JScrollPane jScrollPane16;
private javax.swing.JScrollPane jScrollPane17;
private javax.swing.JScrollPane jScrollPane18;
private javax.swing.JScrollPane jScrollPane7;
private javax.swing.JScrollPane jScrollPane8;
private javax.swing.JScrollPane jScrollPane9;
private javax.swing.JSplitPane jSplitPane3;
private javax.swing.JTabbedPane jTabbedPane3;
private javax.swing.JTextArea jTextArea1;
private javax.swing.JTextArea jTextArea10;
private javax.swing.JTextArea jTextArea2;
private javax.swing.JTextArea jTextArea3;
private javax.swing.JTextArea jTextArea4;
private javax.swing.JTextArea jTextArea5;
private javax.swing.JTextArea jTextArea6;
private javax.swing.JTextArea jTextArea7;
private javax.swing.JTextArea jTextArea8;
private javax.swing.JTextArea jTextArea9;
private javax.swing.JTree jTree4;
private javax.swing.JPanel panelBasic;
private javax.swing.JPanel panelFiles;
private javax.swing.JPanel panelLicenses;
private javax.swing.JPanel panelPackage;
private javax.swing.JPanel panelReview;
private javax.swing.JTextField textStoreSPDX10;
private javax.swing.JTextField textStoreSPDX11;
private javax.swing.JTextField textStoreSPDX12;
private javax.swing.JTextField textStoreSPDX13;
private javax.swing.JTextField textStoreSPDX14;
private javax.swing.JTextField textStoreSPDX15;
private javax.swing.JTextField textStoreSPDX16;
private javax.swing.JTextField textStoreSPDX17;
private javax.swing.JTextField textStoreSPDX18;
private javax.swing.JTextField textStoreSPDX19;
private javax.swing.JTextField textStoreSPDX2;
private javax.swing.JTextField textStoreSPDX20;
private javax.swing.JTextField textStoreSPDX21;
private javax.swing.JTextField textStoreSPDX22;
private javax.swing.JTextField textStoreSPDX23;
private javax.swing.JTextField textStoreSPDX24;
private javax.swing.JTextField textStoreSPDX25;
private javax.swing.JTextField textStoreSPDX26;
private javax.swing.JTextField textStoreSPDX3;
private javax.swing.JTextField textStoreSPDX31;
private javax.swing.JTextField textStoreSPDX4;
private javax.swing.JTextField textStoreSPDX5;
private javax.swing.JTextField textStoreSPDX6;
private javax.swing.JTextField textStoreSPDX7;
private javax.swing.JTextField textStoreSPDX8;
private javax.swing.JTextField textStoreSPDX9;
// End of variables declaration//GEN-END:variables
}