Esempio n. 1
0
 public void createDesiredBorder(JButton jbtn) {
   jbtn.setBorder(
       javax.swing.BorderFactory.createCompoundBorder(
           javax.swing.BorderFactory.createCompoundBorder(
               javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED),
               javax.swing.BorderFactory.createCompoundBorder(
                   javax.swing.BorderFactory.createMatteBorder(
                       2, 2, 2, 2, new java.awt.Color(0, 0, 0)),
                   javax.swing.BorderFactory.createBevelBorder(
                       javax.swing.border.BevelBorder.RAISED))),
           javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED)));
 }
Esempio n. 2
0
  @SuppressWarnings("unchecked")
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;

    jPanel1 = new javax.swing.JPanel();
    jPanel2 = new javax.swing.JPanel();
    lblqnty = new javax.swing.JLabel();
    lblicode = new javax.swing.JLabel();
    lblgrn = new javax.swing.JLabel();
    lblexpdate = new javax.swing.JLabel();
    lbllot = new javax.swing.JLabel();
    jPanel3 = new javax.swing.JPanel();
    btnapply = new javax.swing.JButton();
    btnexit = new javax.swing.JButton();
    jPanel4 = new javax.swing.JPanel();
    jLabel4 = new javax.swing.JLabel();
    jScrollPane1 = new javax.swing.JScrollPane();
    tblgrn = new javax.swing.JTable();
    jLabel6 = new javax.swing.JLabel();
    jPanel5 = new javax.swing.JPanel();
    lblexprd = new java.awt.Label();
    jLabel12 = new javax.swing.JLabel();
    lbl365 = new java.awt.Label();
    jLabel7 = new javax.swing.JLabel();
    lbl90 = new java.awt.Label();
    jLabel9 = new javax.swing.JLabel();
    lbl30 = new java.awt.Label();
    jLabel10 = new javax.swing.JLabel();
    lbl15 = new java.awt.Label();
    jLabel11 = new javax.swing.JLabel();
    lbl366 = new java.awt.Label();
    jLabel8 = new javax.swing.JLabel();
    lblselect = new java.awt.Label();

    setClosable(true);
    setMaximizable(true);
    addInternalFrameListener(
        new javax.swing.event.InternalFrameListener() {
          public void internalFrameActivated(javax.swing.event.InternalFrameEvent evt) {}

          public void internalFrameClosed(javax.swing.event.InternalFrameEvent evt) {}

          public void internalFrameClosing(javax.swing.event.InternalFrameEvent evt) {}

          public void internalFrameDeactivated(javax.swing.event.InternalFrameEvent evt) {}

          public void internalFrameDeiconified(javax.swing.event.InternalFrameEvent evt) {}

          public void internalFrameIconified(javax.swing.event.InternalFrameEvent evt) {}

          public void internalFrameOpened(javax.swing.event.InternalFrameEvent evt) {
            formInternalFrameOpened(evt);
          }
        });

    jPanel1.setBackground(new java.awt.Color(255, 255, 255));

    jPanel2.setBorder(
        javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
    jPanel2.setLayout(new java.awt.GridLayout(1, 0, 10, 0));

    lblqnty.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N
    lblqnty.setForeground(new java.awt.Color(51, 153, 255));
    lblqnty.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    lblqnty.setText("0");
    lblqnty.setBorder(
        javax.swing.BorderFactory.createTitledBorder(
            null,
            "Onhand Qnty",
            javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION,
            javax.swing.border.TitledBorder.DEFAULT_POSITION,
            new java.awt.Font("Tahoma", 1, 14))); // NOI18N
    jPanel2.add(lblqnty);

    lblicode.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N
    lblicode.setForeground(new java.awt.Color(51, 153, 255));
    lblicode.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    lblicode.setText("Item Code");
    lblicode.setBorder(
        javax.swing.BorderFactory.createTitledBorder(
            null,
            "Item Code",
            javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION,
            javax.swing.border.TitledBorder.DEFAULT_POSITION,
            new java.awt.Font("Tahoma", 1, 14))); // NOI18N
    jPanel2.add(lblicode);

    lblgrn.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N
    lblgrn.setForeground(new java.awt.Color(51, 153, 255));
    lblgrn.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    lblgrn.setText("GRN No");
    lblgrn.setBorder(
        javax.swing.BorderFactory.createTitledBorder(
            null,
            "GRN No",
            javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION,
            javax.swing.border.TitledBorder.DEFAULT_POSITION,
            new java.awt.Font("Tahoma", 1, 14))); // NOI18N
    jPanel2.add(lblgrn);

    lblexpdate.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N
    lblexpdate.setForeground(new java.awt.Color(51, 153, 255));
    lblexpdate.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    lblexpdate.setText("0");
    lblexpdate.setBorder(
        javax.swing.BorderFactory.createTitledBorder(
            null,
            "Expire Date",
            javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION,
            javax.swing.border.TitledBorder.DEFAULT_POSITION,
            new java.awt.Font("Tahoma", 1, 14))); // NOI18N
    lblexpdate.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
    lblexpdate.setPreferredSize(new java.awt.Dimension(77, 52));
    jPanel2.add(lblexpdate);

    lbllot.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N
    lbllot.setForeground(new java.awt.Color(51, 153, 255));
    lbllot.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
    lbllot.setText("Lot No");
    lbllot.setBorder(
        javax.swing.BorderFactory.createTitledBorder(
            null,
            "Lot N0",
            javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION,
            javax.swing.border.TitledBorder.DEFAULT_POSITION,
            new java.awt.Font("Tahoma", 1, 14))); // NOI18N
    jPanel2.add(lbllot);

    jPanel3.setBorder(
        javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
    jPanel3.setLayout(new java.awt.GridLayout(1, 0, 10, 0));

    btnapply.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N
    btnapply.setText("Apply");
    btnapply.setBorder(
        javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
    btnapply.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnapplyActionPerformed(evt);
          }
        });
    jPanel3.add(btnapply);

    btnexit.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N
    btnexit.setText("Exit");
    btnexit.setBorder(
        javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
    btnexit.addActionListener(
        new java.awt.event.ActionListener() {
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnexitActionPerformed(evt);
          }
        });
    jPanel3.add(btnexit);

    jPanel4.setBorder(
        javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));

    jLabel4.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N
    jLabel4.setText("Goods Received Note Details Viewer");

    tblgrn.setBackground(new java.awt.Color(255, 204, 255));
    tblgrn.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
    tblgrn.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {}, new String[] {}));

    tblgrn.setRowHeight(20);
    tblgrn.setShowHorizontalLines(false);
    tblgrn.setShowVerticalLines(false);
    tblgrn.setUpdateSelectionOnSort(false);
    tblgrn.setVerifyInputWhenFocusTarget(false);
    tblgrn.addMouseListener(
        new java.awt.event.MouseAdapter() {
          public void mouseClicked(java.awt.event.MouseEvent evt) {
            tblgrnMouseClicked(evt);
          }

          public void mouseReleased(java.awt.event.MouseEvent evt) {
            tblgrnMouseReleased(evt);
          }
        });
    jScrollPane1.setViewportView(tblgrn);

    jLabel6.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
    jLabel6.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
    jLabel6.setText("Please Select GRN No that you want to issue and Click Apply Button.");

    lblexprd.setMinimumSize(new java.awt.Dimension(38, 20));
    lblexprd.setPreferredSize(new java.awt.Dimension(38, 20));

    jLabel12.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
    jLabel12.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    jLabel12.setText("< 15 Days");

    lbl365.setMinimumSize(new java.awt.Dimension(38, 20));
    lbl365.setPreferredSize(new java.awt.Dimension(38, 20));

    jLabel7.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
    jLabel7.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    jLabel7.setText(">365 Days");

    lbl90.setMinimumSize(new java.awt.Dimension(38, 20));

    jLabel9.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
    jLabel9.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    jLabel9.setText("<365 Days");

    lbl30.setMinimumSize(new java.awt.Dimension(38, 20));
    lbl30.setPreferredSize(new java.awt.Dimension(38, 20));

    jLabel10.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
    jLabel10.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    jLabel10.setText("< 90 Days");

    lbl15.setMinimumSize(new java.awt.Dimension(38, 20));
    lbl15.setPreferredSize(new java.awt.Dimension(38, 20));

    jLabel11.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
    jLabel11.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    jLabel11.setText("< 30 Days");

    lbl366.setMinimumSize(new java.awt.Dimension(38, 20));

    jLabel8.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
    jLabel8.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
    jLabel8.setText("Selection");

    lblselect.setMinimumSize(new java.awt.Dimension(38, 20));

    javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
    jPanel5.setLayout(jPanel5Layout);
    jPanel5Layout.setHorizontalGroup(
        jPanel5Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                jPanel5Layout
                    .createSequentialGroup()
                    .addGroup(
                        jPanel5Layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(
                                lbl90,
                                javax.swing.GroupLayout.Alignment.TRAILING,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                lbl366,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                lbl365,
                                javax.swing.GroupLayout.Alignment.TRAILING,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                lblselect,
                                javax.swing.GroupLayout.Alignment.TRAILING,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                lbl30,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                lbl15,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                lblexprd,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE))
                    .addGap(7, 7, 7)
                    .addGroup(
                        jPanel5Layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(
                                jLabel12,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                jLabel11,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                jLabel10,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                jLabel7,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                            .addComponent(
                                jLabel9,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE))
                    .addContainerGap()));
    jPanel5Layout.setVerticalGroup(
        jPanel5Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                jPanel5Layout
                    .createSequentialGroup()
                    .addGroup(
                        jPanel5Layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(
                                lblexprd, javax.swing.GroupLayout.DEFAULT_SIZE, 21, Short.MAX_VALUE)
                            .addComponent(
                                jLabel12,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE))
                    .addGap(7, 7, 7)
                    .addGroup(
                        jPanel5Layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(
                                lbl15, javax.swing.GroupLayout.DEFAULT_SIZE, 21, Short.MAX_VALUE)
                            .addComponent(
                                jLabel11,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE))
                    .addGap(7, 7, 7)
                    .addGroup(
                        jPanel5Layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(
                                lbl30, javax.swing.GroupLayout.DEFAULT_SIZE, 21, Short.MAX_VALUE)
                            .addComponent(
                                jLabel10,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE))
                    .addGap(7, 7, 7)
                    .addGroup(
                        jPanel5Layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(
                                lbl90, javax.swing.GroupLayout.DEFAULT_SIZE, 21, Short.MAX_VALUE)
                            .addComponent(
                                jLabel9,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE))
                    .addGap(7, 7, 7)
                    .addGroup(
                        jPanel5Layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(
                                lbl365, javax.swing.GroupLayout.DEFAULT_SIZE, 21, Short.MAX_VALUE)
                            .addComponent(
                                jLabel7,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE))
                    .addGap(7, 7, 7)
                    .addGroup(
                        jPanel5Layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(
                                lblselect,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                26,
                                Short.MAX_VALUE)
                            .addComponent(
                                jLabel8,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE))
                    .addGap(31, 31, 31)
                    .addComponent(
                        lbl366,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)));

    javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
    jPanel4.setLayout(jPanel4Layout);
    jPanel4Layout.setHorizontalGroup(
        jPanel4Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                jPanel4Layout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addGroup(
                        jPanel4Layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addGroup(
                                jPanel4Layout
                                    .createSequentialGroup()
                                    .addComponent(
                                        jLabel4,
                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                        251,
                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(
                                        javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(
                                        jLabel6,
                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                        426,
                                        javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(jScrollPane1))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                    .addComponent(
                        jPanel5,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    jPanel4Layout.setVerticalGroup(
        jPanel4Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                jPanel4Layout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addGroup(
                        jPanel4Layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(
                                jLabel4,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                jLabel6,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(
                        jPanel4Layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(
                                jScrollPane1,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                311,
                                javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(
                                jPanel5,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap()));

    javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
    jPanel1.setLayout(jPanel1Layout);
    jPanel1Layout.setHorizontalGroup(
        jPanel1Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                jPanel1Layout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addGroup(
                        jPanel1Layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(
                                jPanel1Layout
                                    .createSequentialGroup()
                                    .addComponent(
                                        jPanel2,
                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                        635,
                                        javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGap(18, 18, 18)
                                    .addComponent(
                                        jPanel3,
                                        javax.swing.GroupLayout.PREFERRED_SIZE,
                                        188,
                                        javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(
                                jPanel4,
                                javax.swing.GroupLayout.PREFERRED_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    jPanel1Layout.setVerticalGroup(
        jPanel1Layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                jPanel1Layout
                    .createSequentialGroup()
                    .addContainerGap()
                    .addGroup(
                        jPanel1Layout
                            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(
                                jPanel2,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE)
                            .addComponent(
                                jPanel3,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                javax.swing.GroupLayout.DEFAULT_SIZE,
                                Short.MAX_VALUE))
                    .addPreferredGap(
                        javax.swing.LayoutStyle.ComponentPlacement.RELATED, 17, Short.MAX_VALUE)
                    .addComponent(
                        jPanel4,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)));

    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
        layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(
                jPanel1,
                javax.swing.GroupLayout.PREFERRED_SIZE,
                javax.swing.GroupLayout.DEFAULT_SIZE,
                javax.swing.GroupLayout.PREFERRED_SIZE));
    layout.setVerticalGroup(
        layout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(
                layout
                    .createSequentialGroup()
                    .addComponent(
                        jPanel1,
                        javax.swing.GroupLayout.PREFERRED_SIZE,
                        javax.swing.GroupLayout.DEFAULT_SIZE,
                        javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 42, Short.MAX_VALUE)));

    pack();
  } // </editor-fold>//GEN-END:initComponents