Example usage for java.awt GridBagConstraints PAGE_START

List of usage examples for java.awt GridBagConstraints PAGE_START

Introduction

In this page you can find the example usage for java.awt GridBagConstraints PAGE_START.

Prototype

int PAGE_START

To view the source code for java.awt GridBagConstraints PAGE_START.

Click Source Link

Document

Place the component centered along the edge of its display area associated with the start of a page for the current ComponentOrientation .

Usage

From source file:com.vgi.mafscaling.Rescale.java

private void createMafScalesScrollPane(JPanel dataPanel) {
    JPanel mafPanel = new JPanel();
    GridBagLayout gbl_mafPanelLayout = new GridBagLayout();
    gbl_mafPanelLayout.columnWidths = new int[] { 0 };
    gbl_mafPanelLayout.rowHeights = new int[] { 0, 0 };
    gbl_mafPanelLayout.columnWeights = new double[] { 0.0, 1.0 };
    gbl_mafPanelLayout.rowWeights = new double[] { 0.0, 1.0 };
    mafPanel.setLayout(gbl_mafPanelLayout);

    JScrollPane mafScrollPane = new JScrollPane(mafPanel);
    mafScrollPane.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_NEVER);
    mafScrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
    GridBagConstraints gbl_mafScrollPane = new GridBagConstraints();
    gbl_mafScrollPane.anchor = GridBagConstraints.PAGE_START;
    gbl_mafScrollPane.fill = GridBagConstraints.HORIZONTAL;
    gbl_mafScrollPane.insets = insets0;//ww w.  j a v a  2s  .c om
    gbl_mafScrollPane.weightx = 1.0;
    gbl_mafScrollPane.gridx = 0;
    gbl_mafScrollPane.gridy = 1;
    gbl_mafScrollPane.ipady = 120;
    dataPanel.add(mafScrollPane, gbl_mafScrollPane);

    GridBagConstraints gbc_mafScrollPane = new GridBagConstraints();
    gbc_mafScrollPane.anchor = GridBagConstraints.PAGE_START;
    gbc_mafScrollPane.weightx = 1.0;
    gbc_mafScrollPane.weighty = 1.0;
    gbc_mafScrollPane.insets = insets0;
    gbc_mafScrollPane.fill = GridBagConstraints.HORIZONTAL;
    gbc_mafScrollPane.gridx = 0;
    gbc_mafScrollPane.gridy = 0;

    MafTablePane origMafScrollPane = new MafTablePane(ColumnWidth, OrigMafTableName, false, false);
    origMafScrollPane.setBorder(null);
    origMafScrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    origMafTable = origMafScrollPane.getJTable();
    excelAdapter.addTable(origMafTable, false, false, false, false, false, false, false, false, true);
    mafPanel.add(origMafScrollPane, gbc_mafScrollPane);

    MafTablePane newMafScrollPane = new MafTablePane(ColumnWidth, NewMafTableName, false, true);
    newMafScrollPane.setBorder(null);
    newMafScrollPane.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER);
    newMafTable = newMafScrollPane.getJTable();
    newMafExcelAdapter.addTable(newMafTable, false, false, false, false, false, false, false, false, true);
    gbc_mafScrollPane.gridy++;
    mafPanel.add(newMafScrollPane, gbc_mafScrollPane);

    Action action = new AbstractAction() {
        private static final long serialVersionUID = 1L;

        public void actionPerformed(ActionEvent e) {
            recalculateNewGs();
        }
    };

    setNewMafTableCellListenerListener(new TableCellListener(newMafTable, action));
}

From source file:com.vgi.mafscaling.Rescale.java

private void createGraghPanel(JPanel dataPanel) {
    JFreeChart chart = ChartFactory.createScatterPlot(null, null, null, null, PlotOrientation.VERTICAL, false,
            true, false);//w  w  w  .j a  v a  2s.  c o m
    chart.setBorderVisible(true);
    mafChartPanel = new MafChartPanel(chart, this);

    GridBagConstraints gbl_chartPanel = new GridBagConstraints();
    gbl_chartPanel.anchor = GridBagConstraints.PAGE_START;
    gbl_chartPanel.insets = insets0;
    gbl_chartPanel.fill = GridBagConstraints.BOTH;
    gbl_chartPanel.weightx = 1.0;
    gbl_chartPanel.weighty = 1.0;
    gbl_chartPanel.gridx = 0;
    gbl_chartPanel.gridy = 2;
    dataPanel.add(mafChartPanel.getChartPanel(), gbl_chartPanel);

    XYSplineRenderer lineRenderer = new XYSplineRenderer(3);
    lineRenderer.setUseFillPaint(true);
    lineRenderer.setBaseToolTipGenerator(
            new StandardXYToolTipGenerator(StandardXYToolTipGenerator.DEFAULT_TOOL_TIP_FORMAT,
                    new DecimalFormat("0.00"), new DecimalFormat("0.00")));

    Stroke stroke = new BasicStroke(2.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND, 1.0f, null, 0.0f);
    lineRenderer.setSeriesStroke(0, stroke);
    lineRenderer.setSeriesStroke(1, stroke);
    lineRenderer.setSeriesPaint(0, new Color(201, 0, 0));
    lineRenderer.setSeriesPaint(1, new Color(0, 0, 255));
    lineRenderer.setSeriesShape(0, ShapeUtilities.createDiamond((float) 2.5));
    lineRenderer.setSeriesShape(1, ShapeUtilities.createUpTriangle((float) 2.5));

    ValueAxis mafvDomain = new NumberAxis(XAxisName);
    ValueAxis mafgsRange = new NumberAxis(YAxisName);

    XYSeriesCollection lineDataset = new XYSeriesCollection();

    lineDataset.addSeries(currMafData);
    lineDataset.addSeries(corrMafData);

    XYPlot plot = chart.getXYPlot();
    plot.setRangePannable(true);
    plot.setDomainPannable(true);
    plot.setDomainGridlinePaint(Color.DARK_GRAY);
    plot.setRangeGridlinePaint(Color.DARK_GRAY);
    plot.setBackgroundPaint(new Color(224, 224, 224));
    plot.setSeriesRenderingOrder(SeriesRenderingOrder.FORWARD);

    plot.setDataset(0, lineDataset);
    plot.setRenderer(0, lineRenderer);
    plot.setDomainAxis(0, mafvDomain);
    plot.setRangeAxis(0, mafgsRange);
    plot.mapDatasetToDomainAxis(0, 0);
    plot.mapDatasetToRangeAxis(0, 0);

    LegendTitle legend = new LegendTitle(plot.getRenderer());
    legend.setItemFont(new Font("Arial", 0, 10));
    legend.setPosition(RectangleEdge.TOP);
    chart.addLegend(legend);
}

From source file:com.vgi.mafscaling.LogView.java

private void createLogViewPanel() {
    logViewPanel = new JPanel();
    GridBagLayout gbl_logViewPanel = new GridBagLayout();
    gbl_logViewPanel.columnWidths = new int[] { 0 };
    gbl_logViewPanel.rowHeights = new int[] { 0, 0 };
    gbl_logViewPanel.columnWeights = new double[] { 1.0 };
    gbl_logViewPanel.rowWeights = new double[] { 1.0, 0.0 };
    logViewPanel.setLayout(gbl_logViewPanel);
    try {//  w ww  .  j av  a  2  s.  c  om
        logDataTable = new DBTable();
        logDataTable.copyColumnHeaderNames = true;
        logDataTable.defaultClickCountToStartEditor = 2;
        logDataTable.doNotUseDatabaseSort = true;
        logDataTable.listenKeyPressEventsWholeWindow = true;
        logDataTable.createControlPanel(DBTable.READ_NAVIGATION);
        logDataTable.enableExcelCopyPaste();
        logDataTable.setSortEnabled(false);
        logDataTable.setSkin(new TableSkin());
        logDataTable.refresh(new String[1][25]);
        logDataTable.setComparator(new DoubleComparator());
        logDataTable.getTable().setCellSelectionEnabled(true);
        logDataTable.getTable().setColumnSelectionAllowed(true);
        logDataTable.getTable().setRowSelectionAllowed(true);
        logDataTable.getTable().setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        JTextField rowTextField = ((JTextField) logDataTable.getControlPanel().getComponent(3));
        rowTextField.setPreferredSize(null);
        rowTextField.setColumns(5);

        GridBagConstraints gbc_logDataTable = new GridBagConstraints();
        gbc_logDataTable.insets = insets0;
        gbc_logDataTable.anchor = GridBagConstraints.PAGE_START;
        gbc_logDataTable.fill = GridBagConstraints.BOTH;
        gbc_logDataTable.gridx = 0;
        gbc_logDataTable.gridy = 0;
        logViewPanel.add(logDataTable, gbc_logDataTable);
        listModel = new DefaultListModel<JLabel>();

        selectionCombo.removeAllItems();
        String name;
        JTableHeader tableHeader = logDataTable.getTableHeader();
        for (int i = 0; i < logDataTable.getColumnCount(); ++i) {
            Column col = logDataTable.getColumn(i);
            col.setNullable(true);
            col.setHeaderRenderer(new CheckboxHeaderRenderer(i + 1, tableHeader));
            name = col.getHeaderValue().toString();
            selectionCombo.addItem(name);
            listModel.addElement(new JLabel(name, new CheckBoxIcon(), JLabel.LEFT));
        }

        JList<JLabel> menuList = new JList<JLabel>(listModel);
        menuList.setOpaque(false);
        menuList.setCellRenderer(new ImageListCellRenderer());
        menuList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        menuList.setLayoutOrientation(JList.VERTICAL);
        menuList.setFixedCellHeight(25);
        menuList.addMouseListener(new MouseAdapter() {
            @Override
            public void mouseClicked(MouseEvent e) {
                try {
                    if (e.getClickCount() == 1 && colors.size() > 0) {
                        JList<?> list = (JList<?>) e.getSource();
                        int index = list.locationToIndex(e.getPoint());
                        if (index >= 0) {
                            int colIdx = logDataTable.getCurrentIndexForOriginalColumn(index);
                            Column col = logDataTable.getColumn(colIdx);
                            if (col.getHeaderRenderer() instanceof CheckboxHeaderRenderer) {
                                CheckboxHeaderRenderer renderer = (CheckboxHeaderRenderer) col
                                        .getHeaderRenderer();
                                JLabel label = (JLabel) list.getModel().getElementAt(index);
                                CheckBoxIcon checkIcon = (CheckBoxIcon) label.getIcon();
                                checkIcon.setChecked(!checkIcon.isChecked());
                                if (checkIcon.isChecked()) {
                                    checkIcon.setColor(colors.pop());
                                    JTable table = logDataTable.getTable();
                                    TableModel model = table.getModel();
                                    addXYSeries(model, index, col.getHeaderValue().toString(),
                                            checkIcon.getColor());
                                } else {
                                    colors.push(checkIcon.getColor());
                                    checkIcon.setColor(renderer.getDefaultColor());
                                    removeXYSeries(index);
                                }
                                list.repaint();
                            }
                        }
                    }
                } catch (Exception ex) {
                    ex.printStackTrace();
                }
            }
        });

        headerScrollPane = new JScrollPane(menuList);
        GridBagConstraints gbc_headersTree = new GridBagConstraints();
        gbc_headersTree.insets = insets0;
        gbc_headersTree.anchor = GridBagConstraints.PAGE_START;
        gbc_headersTree.fill = GridBagConstraints.BOTH;
        gbc_headersTree.gridx = 0;
        gbc_headersTree.gridy = 1;

        logViewPanel.add(headerScrollPane, gbc_headersTree);
        headerScrollPane.setVisible(false);

    } catch (Exception e) {
        e.printStackTrace();
        logger.error(e);
    }
}

From source file:eu.ggnet.dwoss.receipt.unit.UnitView.java

/**
 * 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//from   w  w w.  ja va 2 s .  co  m
 * Editor.
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;

    manufacturerButtonGroup = new javax.swing.ButtonGroup();
    jPanel1 = new javax.swing.JPanel();
    unitSplitPane = new javax.swing.JSplitPane();
    unitWritePanel = new javax.swing.JPanel();
    internalCommentAreaScrollPane = new javax.swing.JScrollPane();
    internalCommentArea = new javax.swing.JTextArea();
    commentAreaScrollPane = new javax.swing.JScrollPane();
    commentArea = new javax.swing.JTextArea();
    unitItemLabel = new javax.swing.JLabel();
    unitStatusLabel = new javax.swing.JLabel();
    unitStateBox = new javax.swing.JComboBox();
    editProductButton = new javax.swing.JButton();
    partNoField = new javax.swing.JTextField();
    refurbishedIdField = new javax.swing.JTextField();
    unitSnLabel = new javax.swing.JLabel();
    unitNumberLabel = new javax.swing.JLabel();
    serialField = new javax.swing.JTextField();
    editRefurbishedIdButton = new javax.swing.JButton();
    mfgLabel = new javax.swing.JLabel();
    mfgDateChooser = new com.toedter.calendar.JDateChooser();
    jLabel3 = new javax.swing.JLabel();
    warrantyTillChooser = new com.toedter.calendar.JDateChooser();
    jLabel4 = new javax.swing.JLabel();
    warrantyTypeChooser = new javax.swing.JComboBox();
    manufacturerPanel = new javax.swing.JPanel();
    contractorBox = new javax.swing.JComboBox();
    jScrollPane3 = new javax.swing.JScrollPane();
    equipmentTable = new javax.swing.JTable();
    jScrollPane4 = new javax.swing.JScrollPane();
    commentTable = new javax.swing.JTable();
    jScrollPane5 = new javax.swing.JScrollPane();
    internalCommentTable = new javax.swing.JTable();
    unitReadPanel = new javax.swing.JPanel();
    unitShipLabel = new javax.swing.JLabel();
    unitShipField = new javax.swing.JTextField();
    unitOwnerLabel = new javax.swing.JLabel();
    unitOwnerField = new javax.swing.JTextField();
    jLabel1 = new javax.swing.JLabel();
    jScrollPane2 = new javax.swing.JScrollPane();
    detailArea = new javax.swing.JEditorPane();
    messagesButton = new javax.swing.JButton();
    operationButtonPanel = new javax.swing.JPanel();
    cancelButton = new javax.swing.JButton();

    setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
    setTitle("Gert bearbeiten/aufnehmen");
    setMinimumSize(new java.awt.Dimension(1080, 700));
    addWindowListener(new java.awt.event.WindowAdapter() {
        public void windowClosing(java.awt.event.WindowEvent evt) {
            formWindowClosing(evt);
        }
    });

    unitSplitPane.setDividerLocation(600);
    unitSplitPane.setResizeWeight(1.0);
    unitSplitPane.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
    unitSplitPane.setDoubleBuffered(true);

    unitWritePanel.setBorder(javax.swing.BorderFactory.createTitledBorder(
            javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED,
                    new java.awt.Color(204, 204, 255), new java.awt.Color(51, 51, 51))));
    unitWritePanel.setMinimumSize(new java.awt.Dimension(500, 400));
    unitWritePanel.setPreferredSize(new java.awt.Dimension(500, 400));
    unitWritePanel.setLayout(new java.awt.GridBagLayout());

    internalCommentArea.setColumns(20);
    internalCommentArea.setLineWrap(true);
    internalCommentArea.setRows(5);
    internalCommentArea.setWrapStyleWord(true);
    internalCommentAreaScrollPane.setViewportView(internalCommentArea);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 10;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_START;
    gridBagConstraints.weighty = 0.1;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    unitWritePanel.add(internalCommentAreaScrollPane, gridBagConstraints);

    commentArea.setColumns(20);
    commentArea.setLineWrap(true);
    commentArea.setRows(5);
    commentArea.setWrapStyleWord(true);
    commentAreaScrollPane.setViewportView(commentArea);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 10;
    gridBagConstraints.gridwidth = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_START;
    gridBagConstraints.weighty = 0.1;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    unitWritePanel.add(commentAreaScrollPane, gridBagConstraints);

    unitItemLabel.setText("ArtikelNr:");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    unitWritePanel.add(unitItemLabel, gridBagConstraints);

    unitStatusLabel.setText("Zustand:");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    unitWritePanel.add(unitStatusLabel, gridBagConstraints);

    unitStateBox.setNextFocusableComponent(warrantyTillChooser);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    unitWritePanel.add(unitStateBox, gridBagConstraints);

    editProductButton.setText("Edit");
    editProductButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            editProductButtonActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    unitWritePanel.add(editProductButton, gridBagConstraints);

    partNoField.setName("partNo"); // NOI18N
    partNoField.setNextFocusableComponent(unitStateBox);
    partNoField.addFocusListener(new java.awt.event.FocusAdapter() {
        public void focusLost(java.awt.event.FocusEvent evt) {
            partNoFieldFocusLost(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    unitWritePanel.add(partNoField, gridBagConstraints);

    refurbishedIdField.setName("refurbishId"); // NOI18N
    refurbishedIdField.setNextFocusableComponent(serialField);
    refurbishedIdField.addFocusListener(new java.awt.event.FocusAdapter() {
        public void focusLost(java.awt.event.FocusEvent evt) {
            refurbishedIdFieldFocusLost(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 0.1;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    unitWritePanel.add(refurbishedIdField, gridBagConstraints);

    unitSnLabel.setText("SerienNr:");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
    gridBagConstraints.insets = new java.awt.Insets(5, 2, 2, 2);
    unitWritePanel.add(unitSnLabel, gridBagConstraints);

    unitNumberLabel.setText("SopoNr:");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    unitWritePanel.add(unitNumberLabel, gridBagConstraints);

    serialField.setName("serial"); // NOI18N
    serialField.setNextFocusableComponent(partNoField);
    serialField.addFocusListener(new java.awt.event.FocusAdapter() {
        public void focusLost(java.awt.event.FocusEvent evt) {
            serialFieldFocusLost(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    unitWritePanel.add(serialField, gridBagConstraints);

    editRefurbishedIdButton.setText("Edit");
    editRefurbishedIdButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            editRefurbishedIdButtonActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    unitWritePanel.add(editRefurbishedIdButton, gridBagConstraints);

    mfgLabel.setText("MFG Date:");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
    unitWritePanel.add(mfgLabel, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    unitWritePanel.add(mfgDateChooser, gridBagConstraints);

    jLabel3.setText("Garantie bis:");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 7;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_END;
    gridBagConstraints.insets = new java.awt.Insets(8, 0, 0, 0);
    unitWritePanel.add(jLabel3, gridBagConstraints);

    warrantyTillChooser.setEnabled(false);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 7;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    unitWritePanel.add(warrantyTillChooser, gridBagConstraints);

    jLabel4.setText("Garantietyp:");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.LINE_END;
    unitWritePanel.add(jLabel4, gridBagConstraints);

    warrantyTypeChooser.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            warrantyTypeChooserActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.FIRST_LINE_START;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    unitWritePanel.add(warrantyTypeChooser, gridBagConstraints);

    manufacturerPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Hersteller Support"));

    contractorBox.setModel(
            new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));
    contractorBox.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            contractorBoxActionPerformed(evt);
        }
    });

    javax.swing.GroupLayout manufacturerPanelLayout = new javax.swing.GroupLayout(manufacturerPanel);
    manufacturerPanel.setLayout(manufacturerPanelLayout);
    manufacturerPanelLayout.setHorizontalGroup(
            manufacturerPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addComponent(
                    contractorBox, javax.swing.GroupLayout.Alignment.TRAILING, 0, 333, Short.MAX_VALUE));
    manufacturerPanelLayout.setVerticalGroup(
            manufacturerPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(contractorBox, javax.swing.GroupLayout.Alignment.TRAILING));

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridwidth = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    unitWritePanel.add(manufacturerPanel, gridBagConstraints);

    equipmentTable
            .setModel(new javax.swing.table.DefaultTableModel(
                    new Object[][] { { null, null, null, null }, { null, null, null, null },
                            { null, null, null, null }, { null, null, null, null } },
                    new String[] { "Title 1", "Title 2", "Title 3", "Title 4" }));
    jScrollPane3.setViewportView(equipmentTable);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridheight = 9;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.1;
    gridBagConstraints.weighty = 0.2;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    unitWritePanel.add(jScrollPane3, gridBagConstraints);

    commentTable
            .setModel(new javax.swing.table.DefaultTableModel(
                    new Object[][] { { null, null, null, null }, { null, null, null, null },
                            { null, null, null, null }, { null, null, null, null } },
                    new String[] { "Title 1", "Title 2", "Title 3", "Title 4" }));
    jScrollPane4.setViewportView(commentTable);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 8;
    gridBagConstraints.gridwidth = 3;
    gridBagConstraints.gridheight = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weighty = 0.2;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    unitWritePanel.add(jScrollPane4, gridBagConstraints);

    internalCommentTable
            .setModel(new javax.swing.table.DefaultTableModel(
                    new Object[][] { { null, null, null, null }, { null, null, null, null },
                            { null, null, null, null }, { null, null, null, null } },
                    new String[] { "Title 1", "Title 2", "Title 3", "Title 4" }));
    jScrollPane5.setViewportView(internalCommentTable);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 9;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.1;
    gridBagConstraints.weighty = 0.2;
    gridBagConstraints.insets = new java.awt.Insets(2, 2, 2, 2);
    unitWritePanel.add(jScrollPane5, gridBagConstraints);

    unitSplitPane.setLeftComponent(unitWritePanel);

    unitReadPanel.setBorder(javax.swing.BorderFactory.createTitledBorder(
            javax.swing.BorderFactory.createEtchedBorder(javax.swing.border.EtchedBorder.RAISED,
                    new java.awt.Color(204, 204, 255), java.awt.Color.black)));

    unitShipLabel.setText("Shipment ID:");

    unitShipField.setEditable(false);
    unitShipField.setFocusable(false);

    unitOwnerLabel.setText("Besitzer:");

    unitOwnerField.setEditable(false);
    unitOwnerField.setFocusable(false);

    jLabel1.setText("Details:");

    jScrollPane2.setFocusable(false);

    detailArea.setContentType("text/html"); // NOI18N
    detailArea.setFocusable(false);
    jScrollPane2.setViewportView(detailArea);

    messagesButton.setText("Meldungen");
    messagesButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            messagesButtonActionPerformed(evt);
        }
    });

    javax.swing.GroupLayout unitReadPanelLayout = new javax.swing.GroupLayout(unitReadPanel);
    unitReadPanel.setLayout(unitReadPanelLayout);
    unitReadPanelLayout.setHorizontalGroup(unitReadPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 393, Short.MAX_VALUE)
            .addGroup(unitReadPanelLayout.createSequentialGroup()
                    .addGroup(unitReadPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(unitShipLabel).addComponent(unitOwnerLabel))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(unitReadPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(unitShipField, javax.swing.GroupLayout.DEFAULT_SIZE, 308,
                                    Short.MAX_VALUE)
                            .addComponent(unitOwnerField, javax.swing.GroupLayout.DEFAULT_SIZE, 308,
                                    Short.MAX_VALUE)))
            .addGroup(unitReadPanelLayout.createSequentialGroup().addComponent(jLabel1).addGap(0, 346,
                    Short.MAX_VALUE))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, unitReadPanelLayout.createSequentialGroup()
                    .addGap(0, 0, Short.MAX_VALUE).addComponent(messagesButton)));
    unitReadPanelLayout.setVerticalGroup(unitReadPanelLayout
            .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(unitReadPanelLayout.createSequentialGroup().addGroup(unitReadPanelLayout
                    .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE).addComponent(unitShipLabel)
                    .addComponent(unitShipField, javax.swing.GroupLayout.PREFERRED_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(
                            unitReadPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(unitOwnerLabel).addComponent(unitOwnerField,
                                            javax.swing.GroupLayout.PREFERRED_SIZE,
                                            javax.swing.GroupLayout.DEFAULT_SIZE,
                                            javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED).addComponent(jLabel1)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 414, Short.MAX_VALUE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(messagesButton)));

    unitSplitPane.setRightComponent(unitReadPanel);

    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()
                    .addComponent(unitSplitPane, javax.swing.GroupLayout.DEFAULT_SIZE, 1008, Short.MAX_VALUE)
                    .addContainerGap()));
    jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING).addGroup(jPanel1Layout
                    .createSequentialGroup().addContainerGap().addComponent(unitSplitPane).addContainerGap()));

    operationButtonPanel.setBorder(javax.swing.BorderFactory.createEtchedBorder());
    operationButtonPanel.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.RIGHT));

    cancelButton.setText("Abbrechen");
    cancelButton.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            cancelButtonActionPerformed(evt);
        }
    });

    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.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE,
                    Short.MAX_VALUE)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
                    layout.createSequentialGroup().addContainerGap().addComponent(cancelButton)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(operationButtonPanel, javax.swing.GroupLayout.DEFAULT_SIZE,
                                    javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
    layout.setVerticalGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                    .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE,
                            javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(operationButtonPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 45,
                                    javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING,
                                    layout.createSequentialGroup()
                                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                            .addComponent(cancelButton).addContainerGap()))));

    pack();
}

From source file:org.fhcrc.cpl.viewer.quant.gui.QuantitationReviewer.java

/**
 * Calculate and show theoretical isotopic distribution peaks, with light encroaching on heavy
 * if necessary/*from w ww .  j  a v a  2 s .c  o m*/
 */
protected void showTheoreticalPeaks() {
    int horizSlop = 30;
    int vertSlop = 35;
    if (System.getProperty("os.name").toLowerCase().contains("mac")) {
        horizSlop = 40;
        vertSlop = 45;
    }

    int chartWidth = Math.max(200, leftPanelWidth - horizSlop);
    int chartHeight = Math.max(theoreticalPeaksPanel.getHeight(), theoreticalPeaksPanelHeight) - vertSlop;
    if (theoreticalPeaksChart != null && theoreticalPeaksChart.getComponentCount() > 0)
        theoreticalPeaksPanel.remove(0);

    QuantEvent quantEvent = null;
    if (quantEvents != null) {
        quantEvent = quantEvents.get(displayedEventIndex);

        theoreticalPeaksChart = QuantitationVisualizer.buildTheoreticalPeakChart(quantEvent, chartWidth,
                chartHeight);

        GridBagConstraints gbc = new GridBagConstraints();
        gbc.fill = GridBagConstraints.BOTH;
        gbc.anchor = GridBagConstraints.PAGE_START;
        gbc.gridwidth = GridBagConstraints.REMAINDER;
        theoreticalPeaksPanel.add(theoreticalPeaksChart, gbc);
        float lightNeutralMass = (quantEvent.getLightMz() - Spectrum.HYDROGEN_ION_MASS)
                * quantEvent.getCharge();
        float heavyNeutralMass = (quantEvent.getHeavyMz() - Spectrum.HYDROGEN_ION_MASS)
                * quantEvent.getCharge();
        theoreticalPeaksPanel.setToolTipText("LightMass=" + lightNeutralMass + ", HeavyMass=" + heavyNeutralMass
                + ", Ratio=" + quantEvent.getRatio());
        theoreticalPeaksChart.updateUI();
    }
}

From source file:com.cch.aj.entryrecorder.frame.MainJFrame.java

/**
 * 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./*from ww w. ja  v a  2s.  c om*/
 */
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
    java.awt.GridBagConstraints gridBagConstraints;

    jPanel1 = new javax.swing.JPanel();
    cbEntry = new javax.swing.JComboBox();
    btnDone = new javax.swing.JButton();
    btnRefresh = new javax.swing.JButton();
    btnReport = new javax.swing.JButton();
    jPanel2 = new javax.swing.JPanel();
    jPanel15 = new javax.swing.JPanel();
    jLabel5 = new javax.swing.JLabel();
    txtProductCode = new javax.swing.JLabel();
    txtProductColor = new javax.swing.JLabel();
    txtProductWeight = new javax.swing.JLabel();
    txtProductPierced = new javax.swing.JLabel();
    txtProductDesc = new javax.swing.JLabel();
    txtProductBung = new javax.swing.JLabel();
    jLabel11 = new javax.swing.JLabel();
    jLabel7 = new javax.swing.JLabel();
    jLabel13 = new javax.swing.JLabel();
    jLabel9 = new javax.swing.JLabel();
    jLabel15 = new javax.swing.JLabel();
    jLabel38 = new javax.swing.JLabel();
    txtProductGrade = new javax.swing.JLabel();
    pnlMouldImage = new javax.swing.JPanel();
    labProductImage = new javax.swing.JLabel();
    jPanel3 = new javax.swing.JPanel();
    jTabbedPane1 = new javax.swing.JTabbedPane();
    jPanel5 = new javax.swing.JPanel();
    jPanel16 = new javax.swing.JPanel();
    jScrollPane1 = new javax.swing.JScrollPane();
    tblWeight = new javax.swing.JTable();
    jPanel14 = new javax.swing.JPanel();
    jLabel21 = new javax.swing.JLabel();
    txtWeightStaff = new javax.swing.JTextField();
    labWeightStaff = new javax.swing.JLabel();
    btnWeight = new javax.swing.JButton();
    txtWeight = new javax.swing.JTextField();
    pnlChartWeight = new javax.swing.JPanel();
    jPanel37 = new javax.swing.JPanel();
    jPanel38 = new javax.swing.JPanel();
    jScrollPane10 = new javax.swing.JScrollPane();
    tblCycle = new javax.swing.JTable();
    jPanel39 = new javax.swing.JPanel();
    jLabel44 = new javax.swing.JLabel();
    labBungStaff1 = new javax.swing.JLabel();
    btnCycle = new javax.swing.JButton();
    txtCycle = new javax.swing.JTextField();
    txtCycleStaff = new javax.swing.JTextField();
    jPanel17 = new javax.swing.JPanel();
    jPanel18 = new javax.swing.JPanel();
    jScrollPane2 = new javax.swing.JScrollPane();
    tblWall = new javax.swing.JTable();
    jPanel19 = new javax.swing.JPanel();
    jLabel22 = new javax.swing.JLabel();
    txtWallStaff = new javax.swing.JTextField();
    labWallStaff = new javax.swing.JLabel();
    btnWall = new javax.swing.JButton();
    jLabel2 = new javax.swing.JLabel();
    jLabel3 = new javax.swing.JLabel();
    jLabel4 = new javax.swing.JLabel();
    jLabel6 = new javax.swing.JLabel();
    jLabel8 = new javax.swing.JLabel();
    txtWallUnderHandle = new javax.swing.JTextField();
    txtWallBase = new javax.swing.JTextField();
    txtWallClosure = new javax.swing.JTextField();
    txtWallHandleBung = new javax.swing.JTextField();
    txtWallHandleLeft = new javax.swing.JTextField();
    txtWallHandleRight = new javax.swing.JTextField();
    pnlWallImage = new javax.swing.JPanel();
    jLabel37 = new javax.swing.JLabel();
    jPanel6 = new javax.swing.JPanel();
    jPanel20 = new javax.swing.JPanel();
    jScrollPane3 = new javax.swing.JScrollPane();
    tblTap = new javax.swing.JTable();
    jPanel21 = new javax.swing.JPanel();
    jLabel23 = new javax.swing.JLabel();
    labTapStaff = new javax.swing.JLabel();
    btnTap = new javax.swing.JButton();
    cbTap = new javax.swing.JComboBox();
    txtTapStaff = new javax.swing.JTextField();
    pnlTapImage = new javax.swing.JPanel();
    jLabel36 = new javax.swing.JLabel();
    pnlChartTap = new javax.swing.JPanel();
    jPanel7 = new javax.swing.JPanel();
    jPanel31 = new javax.swing.JPanel();
    jScrollPane7 = new javax.swing.JScrollPane();
    tblBung = new javax.swing.JTable();
    jPanel32 = new javax.swing.JPanel();
    jLabel39 = new javax.swing.JLabel();
    labBungStaff = new javax.swing.JLabel();
    btnBung = new javax.swing.JButton();
    cbBung = new javax.swing.JComboBox();
    txtBungStaff = new javax.swing.JTextField();
    jPanel22 = new javax.swing.JPanel();
    jPanel23 = new javax.swing.JPanel();
    jScrollPane4 = new javax.swing.JScrollPane();
    tblBore = new javax.swing.JTable();
    jPanel24 = new javax.swing.JPanel();
    labBoreStaff = new javax.swing.JLabel();
    btnBore = new javax.swing.JButton();
    jLabel10 = new javax.swing.JLabel();
    jLabel12 = new javax.swing.JLabel();
    jLabel14 = new javax.swing.JLabel();
    txtBore1 = new javax.swing.JTextField();
    txtBore2 = new javax.swing.JTextField();
    txtBoreStaff = new javax.swing.JTextField();
    txtNeck = new javax.swing.JTextField();
    pnlBoreImage1 = new javax.swing.JPanel();
    jLabel35 = new javax.swing.JLabel();
    pnlBoreImage2 = new javax.swing.JPanel();
    labBoreImage2 = new javax.swing.JLabel();
    pnlNeckImage = new javax.swing.JPanel();
    labNeckImage = new javax.swing.JLabel();
    jLabel82 = new javax.swing.JLabel();
    txtBore11 = new javax.swing.JTextField();
    txtBore21 = new javax.swing.JTextField();
    jLabel83 = new javax.swing.JLabel();
    jLabel84 = new javax.swing.JLabel();
    txtNeck1 = new javax.swing.JTextField();
    labBoreStaff1 = new javax.swing.JLabel();
    txtBoreStaff1 = new javax.swing.JTextField();
    btnBore1 = new javax.swing.JButton();
    jPanel25 = new javax.swing.JPanel();
    jPanel26 = new javax.swing.JPanel();
    jScrollPane5 = new javax.swing.JScrollPane();
    tblCheck = new javax.swing.JTable();
    jPanel27 = new javax.swing.JPanel();
    jLabel24 = new javax.swing.JLabel();
    labCheckStaff = new javax.swing.JLabel();
    btnCheck = new javax.swing.JButton();
    jLabel16 = new javax.swing.JLabel();
    jLabel17 = new javax.swing.JLabel();
    jLabel18 = new javax.swing.JLabel();
    jLabel19 = new javax.swing.JLabel();
    jLabel20 = new javax.swing.JLabel();
    jLabel25 = new javax.swing.JLabel();
    jLabel26 = new javax.swing.JLabel();
    cbNeckRound = new javax.swing.JComboBox();
    cbNeckComplete = new javax.swing.JComboBox();
    cbUnderTheHandle = new javax.swing.JComboBox();
    cbBungIfDrilled = new javax.swing.JComboBox();
    cbBase = new javax.swing.JComboBox();
    cbStrengthOfDrum = new javax.swing.JComboBox();
    cbWeightWithinRange = new javax.swing.JComboBox();
    cbColourTexture = new javax.swing.JComboBox();
    txtCheckStaff = new javax.swing.JTextField();
    jLabel52 = new javax.swing.JLabel();
    cbBungProvision = new javax.swing.JComboBox();
    jPanel28 = new javax.swing.JPanel();
    jPanel29 = new javax.swing.JPanel();
    jScrollPane6 = new javax.swing.JScrollPane();
    tblDrop = new javax.swing.JTable();
    jPanel30 = new javax.swing.JPanel();
    jLabel27 = new javax.swing.JLabel();
    labDropStaff = new javax.swing.JLabel();
    btnDrop = new javax.swing.JButton();
    jLabel28 = new javax.swing.JLabel();
    jLabel29 = new javax.swing.JLabel();
    jLabel30 = new javax.swing.JLabel();
    jLabel31 = new javax.swing.JLabel();
    jLabel32 = new javax.swing.JLabel();
    jLabel33 = new javax.swing.JLabel();
    jLabel34 = new javax.swing.JLabel();
    cbDrop1 = new javax.swing.JComboBox();
    cbDrop2 = new javax.swing.JComboBox();
    cbDrop3 = new javax.swing.JComboBox();
    cbDrop4 = new javax.swing.JComboBox();
    cbDrop5 = new javax.swing.JComboBox();
    cbDrop6 = new javax.swing.JComboBox();
    cbDrop7 = new javax.swing.JComboBox();
    cbDrop8 = new javax.swing.JComboBox();
    txtDropStaff = new javax.swing.JTextField();
    jPanel13 = new javax.swing.JPanel();
    jLabel49 = new javax.swing.JLabel();
    jLabel76 = new javax.swing.JLabel();
    txtPalletQuantity = new javax.swing.JTextField();
    txtPalletProducedA = new javax.swing.JTextField();
    jLabel77 = new javax.swing.JLabel();
    jLabel78 = new javax.swing.JLabel();
    jLabel79 = new javax.swing.JLabel();
    txtOtherQuantity = new javax.swing.JTextField();
    jLabel80 = new javax.swing.JLabel();
    txtPalletProducedB = new javax.swing.JTextField();
    jLabel81 = new javax.swing.JLabel();
    labQuantityTotal = new javax.swing.JLabel();
    btnQuantity = new javax.swing.JButton();
    jPanel8 = new javax.swing.JPanel();
    jPanel9 = new javax.swing.JPanel();
    jPanel33 = new javax.swing.JPanel();
    jScrollPane8 = new javax.swing.JScrollPane();
    tblRejects = new javax.swing.JTable();
    jPanel34 = new javax.swing.JPanel();
    jLabel40 = new javax.swing.JLabel();
    btnRejects = new javax.swing.JButton();
    txtRejects = new javax.swing.JTextField();
    jPanel10 = new javax.swing.JPanel();
    jLabel42 = new javax.swing.JLabel();
    labRejectsTotal = new javax.swing.JLabel();
    jPanel11 = new javax.swing.JPanel();
    jPanel35 = new javax.swing.JPanel();
    jScrollPane9 = new javax.swing.JScrollPane();
    tblSeconds = new javax.swing.JTable();
    jPanel36 = new javax.swing.JPanel();
    jLabel41 = new javax.swing.JLabel();
    btnSeconds = new javax.swing.JButton();
    txtSeconds = new javax.swing.JTextField();
    jPanel12 = new javax.swing.JPanel();
    jLabel43 = new javax.swing.JLabel();
    labSecondsTotal = new javax.swing.JLabel();
    jPanel40 = new javax.swing.JPanel();
    jPanel41 = new javax.swing.JPanel();
    jScrollPane11 = new javax.swing.JScrollPane();
    tblLeak = new javax.swing.JTable();
    jPanel42 = new javax.swing.JPanel();
    jLabel45 = new javax.swing.JLabel();
    jLabel46 = new javax.swing.JLabel();
    txtLeakFill = new javax.swing.JTextField();
    btnLeakFill = new javax.swing.JButton();
    jLabel47 = new javax.swing.JLabel();
    jLabel48 = new javax.swing.JLabel();
    labLeakTime = new javax.swing.JLabel();
    jLabel50 = new javax.swing.JLabel();
    txtLeakCheck = new javax.swing.JTextField();
    jLabel51 = new javax.swing.JLabel();
    cbLeak = new javax.swing.JComboBox();
    btnLeakCheck = new javax.swing.JButton();
    labLeakNotes = new javax.swing.JLabel();
    jScrollPane12 = new javax.swing.JScrollPane();
    txtLeakNotes = new javax.swing.JTextArea();
    pnlProductTab = new javax.swing.JPanel();
    pnlEditProduct = new javax.swing.JPanel();
    jLabel62 = new javax.swing.JLabel();
    cbProductPolymer = new javax.swing.JComboBox();
    jLabel63 = new javax.swing.JLabel();
    jLabel67 = new javax.swing.JLabel();
    jLabel68 = new javax.swing.JLabel();
    jLabel69 = new javax.swing.JLabel();
    jLabel70 = new javax.swing.JLabel();
    jLabel71 = new javax.swing.JLabel();
    jLabel72 = new javax.swing.JLabel();
    cbProductAdditive1 = new javax.swing.JComboBox();
    txtAdditiveABatchA = new javax.swing.JTextField();
    cbProductAdditive2 = new javax.swing.JComboBox();
    txtAdditiveBBatchA = new javax.swing.JTextField();
    cbProductAdditive3 = new javax.swing.JComboBox();
    txtAdditiveCBatchA = new javax.swing.JTextField();
    jLabel64 = new javax.swing.JLabel();
    jLabel65 = new javax.swing.JLabel();
    jLabel66 = new javax.swing.JLabel();
    jLabel73 = new javax.swing.JLabel();
    jLabel74 = new javax.swing.JLabel();
    jLabel75 = new javax.swing.JLabel();
    txtPolymerBatchA = new javax.swing.JTextField();
    txtPolymerBatchB = new javax.swing.JTextField();
    txtAdditiveABatchB = new javax.swing.JTextField();
    txtAdditiveBBatchB = new javax.swing.JTextField();
    txtAdditiveCBatchB = new javax.swing.JTextField();
    btnMaterialSave = new javax.swing.JButton();
    jScrollPane13 = new javax.swing.JScrollPane();
    tblMaterial = new javax.swing.JTable();
    jPanel43 = new javax.swing.JPanel();
    jLabel53 = new javax.swing.JLabel();
    jLabel54 = new javax.swing.JLabel();
    jLabel55 = new javax.swing.JLabel();
    jLabel56 = new javax.swing.JLabel();
    jLabel57 = new javax.swing.JLabel();
    jLabel58 = new javax.swing.JLabel();
    jLabel59 = new javax.swing.JLabel();
    jLabel60 = new javax.swing.JLabel();
    jLabel61 = new javax.swing.JLabel();
    cbSupervisor1 = new javax.swing.JComboBox();
    cbSupervisor2 = new javax.swing.JComboBox();
    cbSupervisor3 = new javax.swing.JComboBox();
    cbTechnician1 = new javax.swing.JComboBox();
    cbTechnician2 = new javax.swing.JComboBox();
    cbTechnician3 = new javax.swing.JComboBox();
    cbWorker1 = new javax.swing.JComboBox();
    cbWorker2 = new javax.swing.JComboBox();
    cbWorker3 = new javax.swing.JComboBox();
    btnStaffSave = new javax.swing.JButton();
    jPanel4 = new javax.swing.JPanel();
    jLabel1 = new javax.swing.JLabel();
    labShift = new javax.swing.JLabel();

    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    setPreferredSize(new java.awt.Dimension(1150, 600));
    getContentPane().setLayout(new java.awt.GridBagLayout());

    jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder("Machine No"));
    jPanel1.setLayout(new java.awt.GridBagLayout());

    cbEntry.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            cbEntryActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridwidth = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    jPanel1.add(cbEntry, gridBagConstraints);

    btnDone.setIcon(new javax.swing.ImageIcon(getClass().getResource("/tickbox_alt.png"))); // NOI18N
    btnDone.setToolTipText("Complete?");
    btnDone.setMaximumSize(new java.awt.Dimension(24, 24));
    btnDone.setMinimumSize(new java.awt.Dimension(24, 24));
    btnDone.setPreferredSize(new java.awt.Dimension(24, 24));
    btnDone.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnDoneActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.ipadx = 3;
    gridBagConstraints.ipady = 3;
    gridBagConstraints.insets = new java.awt.Insets(5, 2, 5, 2);
    jPanel1.add(btnDone, gridBagConstraints);

    btnRefresh.setIcon(new javax.swing.ImageIcon(getClass().getResource("/repeat.png"))); // NOI18N
    btnRefresh.setToolTipText("Refresh");
    btnRefresh.setMaximumSize(new java.awt.Dimension(24, 24));
    btnRefresh.setMinimumSize(new java.awt.Dimension(24, 24));
    btnRefresh.setPreferredSize(new java.awt.Dimension(24, 24));
    btnRefresh.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnRefreshActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.ipadx = 3;
    gridBagConstraints.ipady = 3;
    gridBagConstraints.insets = new java.awt.Insets(5, 2, 5, 2);
    jPanel1.add(btnRefresh, gridBagConstraints);

    btnReport.setIcon(new javax.swing.ImageIcon(getClass().getResource("/printer.png"))); // NOI18N
    btnReport.setToolTipText("Report");
    btnReport.setMaximumSize(new java.awt.Dimension(24, 24));
    btnReport.setMinimumSize(new java.awt.Dimension(24, 24));
    btnReport.setPreferredSize(new java.awt.Dimension(24, 24));
    btnReport.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnReportActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.ipadx = 3;
    gridBagConstraints.ipady = 3;
    gridBagConstraints.insets = new java.awt.Insets(5, 2, 5, 2);
    jPanel1.add(btnReport, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    getContentPane().add(jPanel1, gridBagConstraints);

    jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder("Product Information"));
    jPanel2.setLayout(new java.awt.GridBagLayout());

    jPanel15.setLayout(new java.awt.GridBagLayout());

    jLabel5.setFont(new java.awt.Font("Dialog", 1, 14)); // NOI18N
    jLabel5.setText("CODE:");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 1, 2, 1);
    jPanel15.add(jLabel5, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 1, 2, 1);
    jPanel15.add(txtProductCode, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 9;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 1, 2, 1);
    jPanel15.add(txtProductColor, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 1, 2, 1);
    jPanel15.add(txtProductWeight, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 13;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 1, 2, 1);
    jPanel15.add(txtProductPierced, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 1, 2, 1);
    jPanel15.add(txtProductDesc, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 11;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 1, 2, 1);
    jPanel15.add(txtProductBung, gridBagConstraints);

    jLabel11.setFont(new java.awt.Font("Dialog", 1, 14)); // NOI18N
    jLabel11.setText("COLOUR");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 8;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 1, 2, 1);
    jPanel15.add(jLabel11, gridBagConstraints);

    jLabel7.setFont(new java.awt.Font("Dialog", 1, 14)); // NOI18N
    jLabel7.setText("DESCRIPTION??");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 1, 2, 1);
    jPanel15.add(jLabel7, gridBagConstraints);

    jLabel13.setFont(new java.awt.Font("Dialog", 1, 14)); // NOI18N
    jLabel13.setText("BUNG?");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 10;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 1, 2, 1);
    jPanel15.add(jLabel13, gridBagConstraints);

    jLabel9.setFont(new java.awt.Font("Dialog", 1, 14)); // NOI18N
    jLabel9.setText("WEIGHT RANGE??");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 1, 2, 1);
    jPanel15.add(jLabel9, gridBagConstraints);

    jLabel15.setFont(new java.awt.Font("Dialog", 1, 14)); // NOI18N
    jLabel15.setText("PIERCED");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 12;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 1, 2, 1);
    jPanel15.add(jLabel15, gridBagConstraints);

    jLabel38.setFont(new java.awt.Font("Dialog", 1, 14)); // NOI18N
    jLabel38.setText("GRADE");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 1, 2, 1);
    jPanel15.add(jLabel38, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 7;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 1, 2, 1);
    jPanel15.add(txtProductGrade, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridheight = 12;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    jPanel2.add(jPanel15, gridBagConstraints);

    pnlMouldImage.setLayout(new java.awt.GridBagLayout());

    labProductImage.setIcon(new javax.swing.ImageIcon(getClass().getResource("/no_photo.png"))); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.PAGE_START;
    pnlMouldImage.add(labProductImage, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    jPanel2.add(pnlMouldImage, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weighty = 1.0;
    getContentPane().add(jPanel2, gridBagConstraints);

    jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder("Recorder"));
    jPanel3.setLayout(new java.awt.GridBagLayout());

    jTabbedPane1.setPreferredSize(new java.awt.Dimension(1224, 426));

    jPanel5.setLayout(new java.awt.GridBagLayout());

    jPanel16.setLayout(new java.awt.GridBagLayout());

    tblWeight.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "Time", "Value", "Pass", "Staff" }));
    jScrollPane1.setViewportView(tblWeight);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    jPanel16.add(jScrollPane1, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.7;
    jPanel5.add(jPanel16, gridBagConstraints);

    jPanel14.setLayout(new java.awt.GridBagLayout());

    jLabel21.setText("Product Weight (grams)??");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.ipady = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(21, 28, 4, 28);
    jPanel14.add(jLabel21, gridBagConstraints);

    txtWeightStaff.setToolTipText("");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.ipady = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(21, 28, 4, 28);
    jPanel14.add(txtWeightStaff, gridBagConstraints);

    labWeightStaff.setText("Check By");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.ipady = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(4, 28, 4, 28);
    jPanel14.add(labWeightStaff, gridBagConstraints);

    btnWeight.setText("Add");
    btnWeight.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnWeightActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.insets = new java.awt.Insets(9, 0, 5, 0);
    jPanel14.add(btnWeight, gridBagConstraints);

    txtWeight.setToolTipText("");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.ipady = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(21, 28, 4, 28);
    jPanel14.add(txtWeight, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.3;
    jPanel5.add(jPanel14, gridBagConstraints);

    pnlChartWeight.setPreferredSize(new java.awt.Dimension(400, 400));
    pnlChartWeight.setLayout(new java.awt.GridBagLayout());
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    jPanel5.add(pnlChartWeight, gridBagConstraints);

    jTabbedPane1.addTab("Weight??", jPanel5);

    jPanel37.setLayout(new java.awt.GridBagLayout());

    jPanel38.setLayout(new java.awt.GridBagLayout());

    tblCycle.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "Time", "Value", "Staff" }));
    jScrollPane10.setViewportView(tblCycle);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    jPanel38.add(jScrollPane10, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.7;
    jPanel37.add(jPanel38, gridBagConstraints);

    jPanel39.setLayout(new java.awt.GridBagLayout());

    jLabel44.setText("Cycle Time");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(9, 27, 9, 27);
    jPanel39.add(jLabel44, gridBagConstraints);

    labBungStaff1.setText("Check By");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(9, 27, 9, 27);
    jPanel39.add(labBungStaff1, gridBagConstraints);

    btnCycle.setText("Add");
    btnCycle.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnCycleActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.insets = new java.awt.Insets(9, 27, 9, 27);
    jPanel39.add(btnCycle, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(9, 27, 9, 27);
    jPanel39.add(txtCycle, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(9, 27, 9, 27);
    jPanel39.add(txtCycleStaff, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.3;
    jPanel37.add(jPanel39, gridBagConstraints);

    jTabbedPane1.addTab("Cycle Time", jPanel37);

    jPanel17.setLayout(new java.awt.GridBagLayout());

    jPanel18.setLayout(new java.awt.GridBagLayout());

    tblWall.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "Time", "Name", "Value", "Pass", "Staff" }));
    jScrollPane2.setViewportView(tblWall);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    jPanel18.add(jScrollPane2, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.7;
    jPanel17.add(jPanel18, gridBagConstraints);

    jPanel19.setLayout(new java.awt.GridBagLayout());

    jLabel22.setText("END OF HANDLE SIDE-RIGHT?");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(9, 33, 9, 33);
    jPanel19.add(jLabel22, gridBagConstraints);

    txtWallStaff.setToolTipText("");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 7;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(9, 33, 9, 33);
    jPanel19.add(txtWallStaff, gridBagConstraints);

    labWallStaff.setText("Record By");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 7;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(9, 33, 9, 33);
    jPanel19.add(labWallStaff, gridBagConstraints);

    btnWall.setText("Add");
    btnWall.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnWallActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 8;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(9, 33, 9, 33);
    jPanel19.add(btnWall, gridBagConstraints);

    jLabel2.setText("UNDER THE HANDLE");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(9, 33, 9, 33);
    jPanel19.add(jLabel2, gridBagConstraints);

    jLabel3.setText("BASE (CENTRE)");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(9, 33, 9, 33);
    jPanel19.add(jLabel3, gridBagConstraints);

    jLabel4.setText("CLOSURE SIDE??");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(9, 33, 9, 33);
    jPanel19.add(jLabel4, gridBagConstraints);

    jLabel6.setText("END OF HANDLE SIDE-BUNG??");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(9, 33, 9, 33);
    jPanel19.add(jLabel6, gridBagConstraints);

    jLabel8.setText("END OF HANDLE SIDE-LEFT");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(9, 33, 9, 33);
    jPanel19.add(jLabel8, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(9, 33, 9, 33);
    jPanel19.add(txtWallUnderHandle, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(9, 33, 9, 33);
    jPanel19.add(txtWallBase, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(9, 33, 9, 33);
    jPanel19.add(txtWallClosure, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(9, 33, 9, 33);
    jPanel19.add(txtWallHandleBung, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(9, 33, 9, 33);
    jPanel19.add(txtWallHandleLeft, gridBagConstraints);

    txtWallHandleRight.setToolTipText("");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(9, 33, 9, 33);
    jPanel19.add(txtWallHandleRight, gridBagConstraints);

    pnlWallImage.setLayout(new java.awt.GridBagLayout());

    jLabel37.setIcon(new javax.swing.ImageIcon(getClass().getResource("/no_photo_small.png"))); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 10, 0, 10);
    pnlWallImage.add(jLabel37, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.weightx = 1.0;
    jPanel19.add(pnlWallImage, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.3;
    jPanel17.add(jPanel19, gridBagConstraints);

    jTabbedPane1.addTab("Wall Thickness?", jPanel17);

    jPanel6.setLayout(new java.awt.GridBagLayout());

    jPanel20.setLayout(new java.awt.GridBagLayout());

    tblTap.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "Time", "Value", "Pass", "Staff" }));
    jScrollPane3.setViewportView(tblTap);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    jPanel20.add(jScrollPane3, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.7;
    jPanel6.add(jPanel20, gridBagConstraints);

    jPanel21.setLayout(new java.awt.GridBagLayout());

    jLabel23.setText("Tap");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(9, 27, 9, 27);
    jPanel21.add(jLabel23, gridBagConstraints);

    labTapStaff.setText("Check By");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(9, 27, 9, 27);
    jPanel21.add(labTapStaff, gridBagConstraints);

    btnTap.setText("Add");
    btnTap.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnTapActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.insets = new java.awt.Insets(9, 27, 9, 27);
    jPanel21.add(btnTap, gridBagConstraints);

    cbTap.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "1:00", "2:00", "3:00",
            "4:00", "5:00", "6:00", "7:00", "8:00", "9;00", "10:00", "11:00", "12:00" }));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.insets = new java.awt.Insets(9, 27, 9, 27);
    jPanel21.add(cbTap, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.insets = new java.awt.Insets(9, 27, 9, 27);
    jPanel21.add(txtTapStaff, gridBagConstraints);

    pnlTapImage.setLayout(new java.awt.GridBagLayout());

    jLabel36.setIcon(new javax.swing.ImageIcon(getClass().getResource("/no_photo_small.png"))); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 10, 0, 10);
    pnlTapImage.add(jLabel36, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.weightx = 1.0;
    jPanel21.add(pnlTapImage, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.3;
    jPanel6.add(jPanel21, gridBagConstraints);

    pnlChartTap.setPreferredSize(new java.awt.Dimension(400, 400));
    pnlChartTap.setLayout(new java.awt.GridBagLayout());
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    jPanel6.add(pnlChartTap, gridBagConstraints);

    jTabbedPane1.addTab("Tap Position?", jPanel6);

    jPanel7.setLayout(new java.awt.GridBagLayout());

    jPanel31.setLayout(new java.awt.GridBagLayout());

    tblBung.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "Time", "Value", "Pass", "Staff" }));
    jScrollPane7.setViewportView(tblBung);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    jPanel31.add(jScrollPane7, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.7;
    jPanel7.add(jPanel31, gridBagConstraints);

    jPanel32.setLayout(new java.awt.GridBagLayout());

    jLabel39.setText("Bung?");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(9, 27, 9, 27);
    jPanel32.add(jLabel39, gridBagConstraints);

    labBungStaff.setText("Check By");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(9, 27, 9, 27);
    jPanel32.add(labBungStaff, gridBagConstraints);

    btnBung.setText("Add");
    btnBung.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnBungActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.insets = new java.awt.Insets(9, 27, 9, 27);
    jPanel32.add(btnBung, gridBagConstraints);

    cbBung.setModel(
            new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "Weak", "Good", "Strong" }));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.insets = new java.awt.Insets(9, 27, 9, 27);
    jPanel32.add(cbBung, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.insets = new java.awt.Insets(9, 27, 9, 27);
    jPanel32.add(txtBungStaff, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.3;
    jPanel7.add(jPanel32, gridBagConstraints);

    jTabbedPane1.addTab("Bung?", jPanel7);

    jPanel22.setLayout(new java.awt.GridBagLayout());

    jPanel23.setLayout(new java.awt.GridBagLayout());

    tblBore.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "Time", "Name", "Value", "Pass", "Staff" }));
    jScrollPane4.setViewportView(tblBore);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    jPanel23.add(jScrollPane4, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.7;
    jPanel22.add(jPanel23, gridBagConstraints);

    jPanel24.setLayout(new java.awt.GridBagLayout());

    labBoreStaff.setText("Check By");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(0, 15, 0, 0);
    jPanel24.add(labBoreStaff, gridBagConstraints);

    btnBore.setText("Add");
    btnBore.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnBoreActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 7;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 27, 3, 27);
    jPanel24.add(btnBore, gridBagConstraints);

    jLabel10.setText("1.BORE DIAMETRE 11");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(0, 15, 0, 0);
    jPanel24.add(jLabel10, gridBagConstraints);

    jLabel12.setText("1.BORE DIAMETRE 22");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(0, 15, 0, 0);
    jPanel24.add(jLabel12, gridBagConstraints);

    jLabel14.setText("1.NECK HEIGHT");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(0, 15, 0, 0);
    jPanel24.add(jLabel14, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 1.0;
    jPanel24.add(txtBore1, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 1.0;
    jPanel24.add(txtBore2, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 1.0;
    jPanel24.add(txtBoreStaff, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 1.0;
    jPanel24.add(txtNeck, gridBagConstraints);

    pnlBoreImage1.setLayout(new java.awt.GridBagLayout());

    jLabel35.setIcon(new javax.swing.ImageIcon(getClass().getResource("/b1.png"))); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 10, 0, 10);
    pnlBoreImage1.add(jLabel35, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridwidth = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    jPanel24.add(pnlBoreImage1, gridBagConstraints);

    pnlBoreImage2.setLayout(new java.awt.GridBagLayout());

    labBoreImage2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/b2.png"))); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 10, 0, 10);
    pnlBoreImage2.add(labBoreImage2, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.gridwidth = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    jPanel24.add(pnlBoreImage2, gridBagConstraints);

    pnlNeckImage.setLayout(new java.awt.GridBagLayout());

    labNeckImage.setIcon(new javax.swing.ImageIcon(getClass().getResource("/b3.png"))); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 10, 0, 10);
    pnlNeckImage.add(labNeckImage, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.gridwidth = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    jPanel24.add(pnlNeckImage, gridBagConstraints);

    jLabel82.setText("2.BORE DIAMETRE 11");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(0, 15, 0, 0);
    jPanel24.add(jLabel82, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 10);
    jPanel24.add(txtBore11, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 10);
    jPanel24.add(txtBore21, gridBagConstraints);

    jLabel83.setText("2.BORE DIAMETRE 22");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(0, 15, 0, 0);
    jPanel24.add(jLabel83, gridBagConstraints);

    jLabel84.setText("2.NECK HEIGHT");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(0, 15, 0, 0);
    jPanel24.add(jLabel84, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 10);
    jPanel24.add(txtNeck1, gridBagConstraints);

    labBoreStaff1.setText("Check By");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(0, 15, 0, 0);
    jPanel24.add(labBoreStaff1, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(0, 0, 0, 10);
    jPanel24.add(txtBoreStaff1, gridBagConstraints);

    btnBore1.setText("Add");
    btnBore1.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnBore1ActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 7;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 27, 3, 27);
    jPanel24.add(btnBore1, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.3;
    jPanel22.add(jPanel24, gridBagConstraints);

    jTabbedPane1.addTab("Bore / Neck", jPanel22);

    jPanel25.setLayout(new java.awt.GridBagLayout());

    jPanel26.setLayout(new java.awt.GridBagLayout());

    tblCheck.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "Time", "Name", "Value", "Pass", "Staff" }));
    jScrollPane5.setViewportView(tblCheck);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    jPanel26.add(jScrollPane5, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.7;
    jPanel25.add(jPanel26, gridBagConstraints);

    jPanel27.setLayout(new java.awt.GridBagLayout());

    jLabel24.setText("STRENGTH OF DRUM");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(jLabel24, gridBagConstraints);

    labCheckStaff.setText("Check By");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 9;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(labCheckStaff, gridBagConstraints);

    btnCheck.setText("Add");
    btnCheck.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnCheckActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 10;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(btnCheck, gridBagConstraints);

    jLabel16.setText("NECK ROUND?");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(jLabel16, gridBagConstraints);

    jLabel17.setText("NECK COMPLETE??");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(jLabel17, gridBagConstraints);

    jLabel18.setText("UNDER THE HANDLE");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(jLabel18, gridBagConstraints);

    jLabel19.setText("BUNG, IF DRILLED?");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(jLabel19, gridBagConstraints);

    jLabel20.setText("BASE");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(jLabel20, gridBagConstraints);

    jLabel25.setText("WEIGHT WITHIN RANGE???");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(jLabel25, gridBagConstraints);

    jLabel26.setText("COLOUR / TEXTURE??");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 7;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(jLabel26, gridBagConstraints);

    cbNeckRound.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "Checked", "NA" }));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(cbNeckRound, gridBagConstraints);

    cbNeckComplete
            .setModel(new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "Checked", "NA" }));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(cbNeckComplete, gridBagConstraints);

    cbUnderTheHandle
            .setModel(new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "Checked", "NA" }));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(cbUnderTheHandle, gridBagConstraints);

    cbBungIfDrilled
            .setModel(new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "Checked", "NA" }));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(cbBungIfDrilled, gridBagConstraints);

    cbBase.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "Checked", "NA" }));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(cbBase, gridBagConstraints);

    cbStrengthOfDrum
            .setModel(new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "Checked", "NA" }));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(cbStrengthOfDrum, gridBagConstraints);

    cbWeightWithinRange
            .setModel(new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "Yes", "No" }));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(cbWeightWithinRange, gridBagConstraints);

    cbColourTexture
            .setModel(new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "Checked", "NA" }));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 7;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(cbColourTexture, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 9;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(txtCheckStaff, gridBagConstraints);

    jLabel52.setText("BUNG PROVISION(BUBBLES/HOLES))?");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 8;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(jLabel52, gridBagConstraints);

    cbBungProvision
            .setModel(new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "Checked", "NA" }));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 8;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel27.add(cbBungProvision, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.3;
    jPanel25.add(jPanel27, gridBagConstraints);

    jTabbedPane1.addTab("Quality Check", jPanel25);

    jPanel28.setLayout(new java.awt.GridBagLayout());

    jPanel29.setLayout(new java.awt.GridBagLayout());

    tblDrop.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "Time", "Name", "Value", "Pass", "Staff" }));
    jScrollPane6.setViewportView(tblDrop);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    jPanel29.add(jScrollPane6, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    jPanel28.add(jPanel29, gridBagConstraints);

    jPanel30.setLayout(new java.awt.GridBagLayout());

    jLabel27.setIcon(new javax.swing.ImageIcon(getClass().getResource("/p6.png"))); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel30.add(jLabel27, gridBagConstraints);

    labDropStaff.setText("Test By");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(10, 29, 5, 29);
    jPanel30.add(labDropStaff, gridBagConstraints);

    btnDrop.setText("Add");
    btnDrop.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnDropActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.gridwidth = 4;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel30.add(btnDrop, gridBagConstraints);

    jLabel28.setIcon(new javax.swing.ImageIcon(getClass().getResource("/p1.png"))); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel30.add(jLabel28, gridBagConstraints);

    jLabel29.setIcon(new javax.swing.ImageIcon(getClass().getResource("/p2.png"))); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel30.add(jLabel29, gridBagConstraints);

    jLabel30.setIcon(new javax.swing.ImageIcon(getClass().getResource("/p3.png"))); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel30.add(jLabel30, gridBagConstraints);

    jLabel31.setIcon(new javax.swing.ImageIcon(getClass().getResource("/p4.png"))); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel30.add(jLabel31, gridBagConstraints);

    jLabel32.setIcon(new javax.swing.ImageIcon(getClass().getResource("/p5.png"))); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel30.add(jLabel32, gridBagConstraints);

    jLabel33.setIcon(new javax.swing.ImageIcon(getClass().getResource("/p7.png"))); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel30.add(jLabel33, gridBagConstraints);

    jLabel34.setIcon(new javax.swing.ImageIcon(getClass().getResource("/p8.png"))); // NOI18N
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel30.add(jLabel34, gridBagConstraints);

    cbDrop1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "Pass", "Fail" }));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel30.add(cbDrop1, gridBagConstraints);

    cbDrop2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "Pass", "Fail" }));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel30.add(cbDrop2, gridBagConstraints);

    cbDrop3.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "Pass", "Fail" }));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel30.add(cbDrop3, gridBagConstraints);

    cbDrop4.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "Pass", "Fail" }));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel30.add(cbDrop4, gridBagConstraints);

    cbDrop5.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "Pass", "Fail" }));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel30.add(cbDrop5, gridBagConstraints);

    cbDrop6.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "Pass", "Fail" }));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel30.add(cbDrop6, gridBagConstraints);

    cbDrop7.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "Pass", "Fail" }));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel30.add(cbDrop7, gridBagConstraints);

    cbDrop8.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "Pass", "Fail" }));
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(3, 29, 3, 29);
    jPanel30.add(cbDrop8, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 4;
    gridBagConstraints.ipady = 4;
    gridBagConstraints.insets = new java.awt.Insets(10, 29, 5, 29);
    jPanel30.add(txtDropStaff, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    jPanel28.add(jPanel30, gridBagConstraints);

    jTabbedPane1.addTab("Drop Test", jPanel28);

    jPanel13.setLayout(new java.awt.GridBagLayout());

    jLabel49.setText("Pallet Quantity");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 9;
    gridBagConstraints.ipady = 9;
    gridBagConstraints.weightx = 0.3;
    gridBagConstraints.insets = new java.awt.Insets(7, 22, 7, 22);
    jPanel13.add(jLabel49, gridBagConstraints);

    jLabel76.setText("Pallets Produced");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 9;
    gridBagConstraints.ipady = 9;
    gridBagConstraints.weightx = 0.3;
    gridBagConstraints.insets = new java.awt.Insets(7, 22, 7, 22);
    jPanel13.add(jLabel76, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 9;
    gridBagConstraints.ipady = 9;
    gridBagConstraints.weightx = 0.3;
    gridBagConstraints.insets = new java.awt.Insets(7, 22, 7, 22);
    jPanel13.add(txtPalletQuantity, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 9;
    gridBagConstraints.ipady = 9;
    gridBagConstraints.weightx = 0.3;
    gridBagConstraints.insets = new java.awt.Insets(7, 22, 7, 22);
    jPanel13.add(txtPalletProducedA, gridBagConstraints);

    jLabel77.setText("X");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.ipadx = 9;
    gridBagConstraints.ipady = 9;
    gridBagConstraints.weightx = 0.3;
    gridBagConstraints.insets = new java.awt.Insets(7, 22, 7, 22);
    jPanel13.add(jLabel77, gridBagConstraints);

    jLabel78.setText("Other Quantity");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 9;
    gridBagConstraints.ipady = 9;
    gridBagConstraints.weightx = 0.3;
    gridBagConstraints.insets = new java.awt.Insets(7, 22, 7, 22);
    jPanel13.add(jLabel78, gridBagConstraints);

    jLabel79.setText("Pallets Produced");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 9;
    gridBagConstraints.ipady = 9;
    gridBagConstraints.weightx = 0.3;
    gridBagConstraints.insets = new java.awt.Insets(7, 22, 7, 22);
    jPanel13.add(jLabel79, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 9;
    gridBagConstraints.ipady = 9;
    gridBagConstraints.weightx = 0.3;
    gridBagConstraints.insets = new java.awt.Insets(7, 22, 7, 22);
    jPanel13.add(txtOtherQuantity, gridBagConstraints);

    jLabel80.setText("X");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.ipadx = 9;
    gridBagConstraints.ipady = 9;
    gridBagConstraints.weightx = 0.3;
    gridBagConstraints.insets = new java.awt.Insets(7, 22, 7, 22);
    jPanel13.add(jLabel80, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 9;
    gridBagConstraints.ipady = 9;
    gridBagConstraints.weightx = 0.3;
    gridBagConstraints.insets = new java.awt.Insets(7, 22, 7, 22);
    jPanel13.add(txtPalletProducedB, gridBagConstraints);

    jLabel81.setText("Total Produced");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 9;
    gridBagConstraints.ipady = 9;
    gridBagConstraints.weightx = 0.3;
    gridBagConstraints.insets = new java.awt.Insets(7, 22, 7, 22);
    jPanel13.add(jLabel81, gridBagConstraints);

    labQuantityTotal.setText("total");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.ipadx = 9;
    gridBagConstraints.ipady = 9;
    gridBagConstraints.weightx = 0.3;
    gridBagConstraints.insets = new java.awt.Insets(7, 22, 7, 22);
    jPanel13.add(labQuantityTotal, gridBagConstraints);

    btnQuantity.setText("Save");
    btnQuantity.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnQuantityActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.gridwidth = 3;
    gridBagConstraints.ipadx = 9;
    gridBagConstraints.ipady = 9;
    gridBagConstraints.insets = new java.awt.Insets(7, 22, 7, 22);
    jPanel13.add(btnQuantity, gridBagConstraints);

    jTabbedPane1.addTab("Quantity Produced?", jPanel13);

    jPanel8.setLayout(new java.awt.GridBagLayout());

    jPanel9.setLayout(new java.awt.GridBagLayout());

    jPanel33.setLayout(new java.awt.GridBagLayout());

    tblRejects.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "Time", "Value" }));
    jScrollPane8.setViewportView(tblRejects);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    jPanel33.add(jScrollPane8, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.7;
    jPanel9.add(jPanel33, gridBagConstraints);

    jPanel34.setLayout(new java.awt.GridBagLayout());

    jLabel40.setText("Rejects?");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.ipady = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(21, 28, 4, 28);
    jPanel34.add(jLabel40, gridBagConstraints);

    btnRejects.setText("Add");
    btnRejects.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnRejectsActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.ipadx = 2;
    gridBagConstraints.ipady = 2;
    gridBagConstraints.insets = new java.awt.Insets(11, 11, 11, 11);
    jPanel34.add(btnRejects, gridBagConstraints);

    txtRejects.setToolTipText("");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.ipady = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(21, 28, 4, 28);
    jPanel34.add(txtRejects, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.3;
    jPanel9.add(jPanel34, gridBagConstraints);

    jPanel10.setLayout(new java.awt.GridBagLayout());

    jLabel42.setText("Rejects Total : ");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.insets = new java.awt.Insets(8, 8, 8, 8);
    jPanel10.add(jLabel42, gridBagConstraints);

    labRejectsTotal.setText("NA");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    jPanel10.add(labRejectsTotal, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    jPanel9.add(jPanel10, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.gridheight = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 0.5;
    jPanel8.add(jPanel9, gridBagConstraints);

    jPanel11.setLayout(new java.awt.GridBagLayout());

    jPanel35.setLayout(new java.awt.GridBagLayout());

    tblSeconds.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "Time", "Value" }));
    jScrollPane9.setViewportView(tblSeconds);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    jPanel35.add(jScrollPane9, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.7;
    jPanel11.add(jPanel35, gridBagConstraints);

    jPanel36.setLayout(new java.awt.GridBagLayout());

    jLabel41.setText("Seconds");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.ipady = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(21, 28, 4, 28);
    jPanel36.add(jLabel41, gridBagConstraints);

    btnSeconds.setText("Add");
    btnSeconds.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnSecondsActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.ipadx = 2;
    gridBagConstraints.ipady = 2;
    gridBagConstraints.insets = new java.awt.Insets(11, 11, 11, 11);
    jPanel36.add(btnSeconds, gridBagConstraints);

    txtSeconds.setToolTipText("");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.ipady = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(21, 28, 4, 28);
    jPanel36.add(txtSeconds, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.3;
    jPanel11.add(jPanel36, gridBagConstraints);

    jPanel12.setLayout(new java.awt.GridBagLayout());

    jLabel43.setText("Seconds Total : ");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.insets = new java.awt.Insets(8, 8, 8, 8);
    jPanel12.add(jLabel43, gridBagConstraints);

    labSecondsTotal.setText("NA");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    jPanel12.add(labSecondsTotal, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    jPanel11.add(jPanel12, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.gridheight = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 0.5;
    jPanel8.add(jPanel11, gridBagConstraints);

    jTabbedPane1.addTab("Seconds / Rejects?", jPanel8);

    jPanel40.setLayout(new java.awt.GridBagLayout());

    jPanel41.setLayout(new java.awt.GridBagLayout());

    tblLeak.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "Time", "Name", "Value" }));
    jScrollPane11.setViewportView(tblLeak);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    jPanel41.add(jScrollPane11, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(26, 3, 26, 3);
    jPanel40.add(jPanel41, gridBagConstraints);

    jPanel42.setLayout(new java.awt.GridBagLayout());

    jLabel45.setText("Stage 1 Testing");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 3;
    gridBagConstraints.ipady = 3;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 13, 3, 13);
    jPanel42.add(jLabel45, gridBagConstraints);

    jLabel46.setText("Water filled by");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 3;
    gridBagConstraints.ipady = 3;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 13, 3, 13);
    jPanel42.add(jLabel46, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 3;
    gridBagConstraints.ipady = 3;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 13, 3, 13);
    jPanel42.add(txtLeakFill, gridBagConstraints);

    btnLeakFill.setText("Add");
    btnLeakFill.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnLeakFillActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.ipadx = 3;
    gridBagConstraints.ipady = 3;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 13, 3, 13);
    jPanel42.add(btnLeakFill, gridBagConstraints);

    jLabel47.setText("Stage 2 Examination");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 3;
    gridBagConstraints.ipady = 3;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(9, 13, 3, 13);
    jPanel42.add(jLabel47, gridBagConstraints);

    jLabel48.setText("Time filled");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 3;
    gridBagConstraints.ipady = 3;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 13, 3, 13);
    jPanel42.add(jLabel48, gridBagConstraints);

    labLeakTime.setText("time");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 3;
    gridBagConstraints.ipady = 3;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 13, 3, 13);
    jPanel42.add(labLeakTime, gridBagConstraints);

    jLabel50.setText("Checked By");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 3;
    gridBagConstraints.ipady = 3;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 13, 3, 13);
    jPanel42.add(jLabel50, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 3;
    gridBagConstraints.ipady = 3;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 13, 3, 13);
    jPanel42.add(txtLeakCheck, gridBagConstraints);

    jLabel51.setText("Any Leaks?");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 3;
    gridBagConstraints.ipady = 3;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 13, 3, 13);
    jPanel42.add(jLabel51, gridBagConstraints);

    cbLeak.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "- Select -", "YES", "NO" }));
    cbLeak.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            cbLeakActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 3;
    gridBagConstraints.ipady = 3;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 13, 3, 13);
    jPanel42.add(cbLeak, gridBagConstraints);

    btnLeakCheck.setText("Add");
    btnLeakCheck.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnLeakCheckActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 8;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.ipadx = 3;
    gridBagConstraints.ipady = 3;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 13, 3, 13);
    jPanel42.add(btnLeakCheck, gridBagConstraints);

    labLeakNotes.setText("Notes");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 7;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 3;
    gridBagConstraints.ipady = 3;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 13, 3, 13);
    jPanel42.add(labLeakNotes, gridBagConstraints);

    txtLeakNotes.setColumns(20);
    txtLeakNotes.setRows(5);
    txtLeakNotes.setMinimumSize(new java.awt.Dimension(150, 100));
    txtLeakNotes.setPreferredSize(new java.awt.Dimension(160, 100));
    jScrollPane12.setViewportView(txtLeakNotes);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 7;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.ipadx = 3;
    gridBagConstraints.ipady = 3;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(2, 13, 3, 13);
    jPanel42.add(jScrollPane12, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.weighty = 1.0;
    gridBagConstraints.insets = new java.awt.Insets(26, 3, 26, 3);
    jPanel40.add(jPanel42, gridBagConstraints);

    jTabbedPane1.addTab("Leak Test?", jPanel40);

    pnlProductTab.setLayout(new java.awt.GridBagLayout());

    pnlEditProduct.setLayout(new java.awt.GridBagLayout());

    jLabel62.setText("POLYMER");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 33, 2, 29);
    pnlEditProduct.add(jLabel62, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 29, 2, 29);
    pnlEditProduct.add(cbProductPolymer, gridBagConstraints);

    jLabel63.setText("ADDITIVE(?,UV,)");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 33, 2, 29);
    pnlEditProduct.add(jLabel63, gridBagConstraints);

    jLabel67.setText("TYPE 11");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 33, 2, 29);
    pnlEditProduct.add(jLabel67, gridBagConstraints);

    jLabel68.setText("Batch Number 1?1");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 33, 2, 29);
    pnlEditProduct.add(jLabel68, gridBagConstraints);

    jLabel69.setText("TYPE 2");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 33, 2, 29);
    pnlEditProduct.add(jLabel69, gridBagConstraints);

    jLabel70.setText("Batch Number 1?1");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 33, 2, 29);
    pnlEditProduct.add(jLabel70, gridBagConstraints);

    jLabel71.setText("TYPE 3");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 7;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 33, 2, 29);
    pnlEditProduct.add(jLabel71, gridBagConstraints);

    jLabel72.setText("Batch Number 1?1");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 8;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 33, 2, 29);
    pnlEditProduct.add(jLabel72, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 29, 2, 29);
    pnlEditProduct.add(cbProductAdditive1, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 29, 2, 29);
    pnlEditProduct.add(txtAdditiveABatchA, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 29, 2, 29);
    pnlEditProduct.add(cbProductAdditive2, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 29, 2, 29);
    pnlEditProduct.add(txtAdditiveBBatchA, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 7;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 29, 2, 29);
    pnlEditProduct.add(cbProductAdditive3, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 8;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 29, 2, 29);
    pnlEditProduct.add(txtAdditiveCBatchA, gridBagConstraints);

    jLabel64.setText("Batch Number 2?2");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 9;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 29, 2, 29);
    pnlEditProduct.add(jLabel64, gridBagConstraints);

    jLabel65.setText("Polymer Type");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 29, 2, 29);
    pnlEditProduct.add(jLabel65, gridBagConstraints);

    jLabel66.setText("Batch Number 1?1");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 29, 2, 29);
    pnlEditProduct.add(jLabel66, gridBagConstraints);

    jLabel73.setText("Batch Number 2?2");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 29, 2, 29);
    pnlEditProduct.add(jLabel73, gridBagConstraints);

    jLabel74.setText("Batch Number 2?2");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 2;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 29, 2, 29);
    pnlEditProduct.add(jLabel74, gridBagConstraints);

    jLabel75.setText("Batch Number 2?2");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 29, 2, 29);
    pnlEditProduct.add(jLabel75, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 29, 2, 29);
    pnlEditProduct.add(txtPolymerBatchA, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 29, 2, 29);
    pnlEditProduct.add(txtPolymerBatchB, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 29, 2, 29);
    pnlEditProduct.add(txtAdditiveABatchB, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 29, 2, 29);
    pnlEditProduct.add(txtAdditiveBBatchB, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 3;
    gridBagConstraints.gridy = 9;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 6;
    gridBagConstraints.ipady = 6;
    gridBagConstraints.weightx = 0.25;
    gridBagConstraints.insets = new java.awt.Insets(2, 29, 2, 29);
    pnlEditProduct.add(txtAdditiveCBatchB, gridBagConstraints);

    btnMaterialSave.setText("Save");
    btnMaterialSave.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnMaterialSaveActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 10;
    gridBagConstraints.gridwidth = 4;
    gridBagConstraints.insets = new java.awt.Insets(13, 13, 13, 13);
    pnlEditProduct.add(btnMaterialSave, gridBagConstraints);

    tblMaterial.setModel(new javax.swing.table.DefaultTableModel(new Object[][] {

    }, new String[] { "Time", "Type", "Batch Number" }));
    jScrollPane13.setViewportView(tblMaterial);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.gridheight = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.weighty = 1.0;
    pnlEditProduct.add(jScrollPane13, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    pnlProductTab.add(pnlEditProduct, gridBagConstraints);

    jTabbedPane1.addTab("Raw Material", pnlProductTab);

    jPanel43.setLayout(new java.awt.GridBagLayout());

    jLabel53.setText("SUPERVISOR 1");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 20, 2, 20);
    jPanel43.add(jLabel53, gridBagConstraints);

    jLabel54.setText("SUPERVISOR 2");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 20, 2, 20);
    jPanel43.add(jLabel54, gridBagConstraints);

    jLabel55.setText("SUPERVISOR 3");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 20, 2, 20);
    jPanel43.add(jLabel55, gridBagConstraints);

    jLabel56.setText("TECHNICIAN 1");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 20, 2, 20);
    jPanel43.add(jLabel56, gridBagConstraints);

    jLabel57.setText("TECHNICIAN 2");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 20, 2, 20);
    jPanel43.add(jLabel57, gridBagConstraints);

    jLabel58.setText("TECHNICIAN 3");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 20, 2, 20);
    jPanel43.add(jLabel58, gridBagConstraints);

    jLabel59.setText("MACHINE OPERATOR 1?");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 20, 2, 20);
    jPanel43.add(jLabel59, gridBagConstraints);

    jLabel60.setText("MACHINE OPERATOR 2?");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 7;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 20, 2, 20);
    jPanel43.add(jLabel60, gridBagConstraints);

    jLabel61.setText("MACHINE OPERATOR 3?");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 8;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 20, 2, 20);
    jPanel43.add(jLabel61, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 20, 2, 20);
    jPanel43.add(cbSupervisor1, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 20, 2, 20);
    jPanel43.add(cbSupervisor2, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 2;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 20, 2, 20);
    jPanel43.add(cbSupervisor3, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 3;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 20, 2, 20);
    jPanel43.add(cbTechnician1, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 4;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 20, 2, 20);
    jPanel43.add(cbTechnician2, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 5;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 20, 2, 20);
    jPanel43.add(cbTechnician3, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 6;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 20, 2, 20);
    jPanel43.add(cbWorker1, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 7;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 20, 2, 20);
    jPanel43.add(cbWorker2, gridBagConstraints);
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 8;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.ipadx = 5;
    gridBagConstraints.weightx = 0.5;
    gridBagConstraints.insets = new java.awt.Insets(2, 20, 2, 20);
    jPanel43.add(cbWorker3, gridBagConstraints);

    btnStaffSave.setText("Save");
    btnStaffSave.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
            btnStaffSaveActionPerformed(evt);
        }
    });
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 9;
    gridBagConstraints.gridwidth = 2;
    gridBagConstraints.insets = new java.awt.Insets(11, 11, 11, 11);
    jPanel43.add(btnStaffSave, gridBagConstraints);

    jTabbedPane1.addTab("Staff", jPanel43);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.ipadx = 95;
    gridBagConstraints.ipady = 95;
    gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTHWEST;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    jPanel3.add(jTabbedPane1, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 1;
    gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
    gridBagConstraints.weightx = 1.0;
    gridBagConstraints.weighty = 1.0;
    getContentPane().add(jPanel3, gridBagConstraints);

    jPanel4.setLayout(new java.awt.GridBagLayout());

    jLabel1.setFont(new java.awt.Font("Dialog", 3, 24)); // NOI18N
    jLabel1.setText("A & J Entry Recorder");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.insets = new java.awt.Insets(8, 8, 8, 8);
    jPanel4.add(jLabel1, gridBagConstraints);

    labShift.setText("shift");
    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 0;
    gridBagConstraints.gridy = 1;
    jPanel4.add(labShift, gridBagConstraints);

    gridBagConstraints = new java.awt.GridBagConstraints();
    gridBagConstraints.gridx = 1;
    gridBagConstraints.gridy = 0;
    gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
    gridBagConstraints.weightx = 1.0;
    getContentPane().add(jPanel4, gridBagConstraints);

    pack();
}

From source file:org.fhcrc.cpl.viewer.quant.gui.ProteinQuantSummaryFrame.java

License:asdf

/**
 * Populate the table with the current quantEvents
 *///from   w  w  w  .  j  a va  2 s .  c om
protected void displayEvents() {
    _log.debug("displayEvents 1, quant events: " + quantEvents.size());
    String proteinOrProteins = "Protein";
    if (proteinNames.size() > 1)
        proteinOrProteins = "Proteins";
    if (proteinNames.size() > 4)
        setTitle("Event Summary for " + proteinNames.size() + " Proteins");
    else
        setTitle("Event Summary for " + proteinOrProteins + " " + concatProteinNamesMax3(","));

    GridBagConstraints gbc = new GridBagConstraints();
    gbc.fill = GridBagConstraints.BOTH;
    gbc.anchor = GridBagConstraints.PAGE_START;
    gbc.gridwidth = GridBagConstraints.REMAINDER;
    gbc.insets = new Insets(0, 0, 0, 0);
    gbc.weighty = 1;
    gbc.weightx = 1;

    List<Integer> alreadySelectedEventIndices = new ArrayList<Integer>();
    if (existingQuantEvents != null) {
        for (int i = 0; i < quantEvents.size(); i++) {
            for (QuantEvent existingEvent : existingQuantEvents) {
                //check the events for identity with already-loaded events.  If we get it, grey out and
                //replace the new one with the old one (to pick up curation statuses
                if (quantEvents.get(i).isSameEvent(existingEvent)) {
                    alreadySelectedEventIndices.add(i);
                    quantEvents.set(i, existingEvent);

                    break;
                }
            }
        }
    }

    _log.debug("displayEvents 2");

    List<Float> eventLogRatios = new ArrayList<Float>();

    for (QuantEvent event : quantEvents)
        eventLogRatios.add((float) Math.log(event.getRatio()));
    eventsTable.displayEvents(quantEvents, alreadySelectedEventIndices);

    _log.debug("displayEvents 3");

    buttonSelectAllVisible.setEnabled(true);
    buttonDeselectAll.setEnabled(true);

    loadSelectedEventsButton.setEnabled(true);
    autoAssessSelectedEventsButton.setEnabled(true);

    buildTurkHITsButton.setEnabled(true);
    showPropertiesButton.setEnabled(true);
    showProteinRatiosButton.setEnabled(true);

    _log.debug("displayEvents 4");

    logRatioHistogramPanel.setMaxLowRatio(maxLowRatio);
    _log.debug("displayEvents a");

    logRatioHistogramPanel.setMinHighRatio(minHighRatio);
    _log.debug("displayEvents a, eventlogratios: " + eventLogRatios.size());

    logRatioHistogramPanel.setLogRatios(eventLogRatios);
    _log.debug("displayEvents a");

    logRatioHistogramPanel.setSize(width - 5, LOGRATIO_HISTOGRAM_PANEL_HEIGHT - 20);

    _log.debug("displayEvents 4.0.1");

    logRatioHistogramPanel.addRangeUpdateListener(new LogRatioHistogramListener());

    _log.debug("displayEvents 4.1");

    logRatioHistogramPanel.updateUI();

    _log.debug("displayEvents 4.2");

    contentPanel.updateUI();

    _log.debug("displayEvents 5");

    fullHeight = Math.min(800, Math.max(600, (quantEvents.size() + 1) * TABLEROW_HEIGHT) + SUMMARYPANEL_HEIGHT
            + LOGRATIO_HISTOGRAM_PANEL_HEIGHT + STATUSPANEL_HEIGHT + TITLEBAR_HEIGHT);
    setSize(fullWidth, fullHeight);

    _log.debug("displayEvents end");

}