private void btnProcessIncomingActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnProcessIncomingActionPerformed
        
        int arrivalTime = 0;
        try
        {
            arrivalTime = Integer.parseInt(txtArrivalTimeIn.getText());
        }
        catch(NumberFormatException nfe)
        {
                JOptionPane.showMessageDialog(frame, "Must enter a valid number 0 - 24.");
        }
        
        if(radioBest.isSelected())
        {
            try
            {
                pm1.startIncomingVehicleTransaction(new CustomerReceiptOutputTypeGUI(), arrivalTime, new DefaultHourlyBestValueFeeCalculator());
                carCount++;
                txtPrevCustomerReceiptID.setText(Integer.toString(carCount));
                txtPrevCustomerArrivalTime.setText(Integer.toString(arrivalTime));
            }
            catch(ArrivalTimeException ate)
            {
                JOptionPane.showMessageDialog(frame, ate.getMessage());
            }
        }
        else if(radioThrifty.isSelected())
        {
            try
            {
            pm1.startIncomingVehicleTransaction(new CustomerReceiptOutputTypeGUI(), arrivalTime, new DefaultHourlyThriftyFeeCalculator());
            carCount++;
            txtPrevCustomerReceiptID.setText(Integer.toString(carCount));
            txtPrevCustomerArrivalTime.setText(Integer.toString(arrivalTime));
            }
            catch(ArrivalTimeException ate)
            {
                JOptionPane.showMessageDialog(frame, ate.getMessage());
            }
        }

    }//GEN-LAST:event_btnProcessIncomingActionPerformed