private void jButtonSearchActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonSearchActionPerformed


//        int BookingNumber = Integer.parseInt(jTextFieldCheckBookNo.getText());
        int Phone = Integer.parseInt(jTextFieldCheckPhone.getText());
        BookingRegister br = c.getBookingSearch(Phone);
        if (br != null) {
            jTextFieldCheckPhone.setText(br.getPhone() + "");
            jTextFieldCheckName.setText(br.getGuestName() + "");
//            jTextFieldCheckBookingNumber.setText(br.getBookingNumber() + "");
            jTextAreaSearchBox.setText(c.getSearchDetailsToString() + "");
            jLabelDMM.setText("Infomration Found!");
        } else {
            jLabelDMM.setText("No matching order!");
        }

    
    }//GEN-LAST:event_jButtonSearchActionPerformed