private void btnSearchActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSearchActionPerformed
        String searchNum = txtSearchPartNo.getText();
        if (searchNum != null && searchNum.length() > 0) {
            for (int i = 0; i < this.partNums.length; i++) {
                if (searchNum.equalsIgnoreCase(partNums[i])) {
                    foundIndex = i;
                    break;
                }
            }
            if (foundIndex == NOT_FOUND) {
                JOptionPane.showMessageDialog(this,
                        "Part Number not found. Please try again.",
                        "Not Found", JOptionPane.WARNING_MESSAGE);
            } else {
                txtCurProdNo.setText(partNums[foundIndex]);
                txtCurDesc.setText(partDescs[foundIndex]);
                txtCurPrice.setText("" + partPrices[foundIndex]);
            }
        } else {
            JOptionPane.showMessageDialog(this,
                    "Please enter a Part No. to search",
                    "Entry Missing", JOptionPane.WARNING_MESSAGE);
        }

    }//GEN-LAST:event_btnSearchActionPerformed