private void btnSubmitActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSubmitActionPerformed
        // I WILL NOT SUBMIT TO YOUR SLAVERY!
        // Er, submit button
        
        if(!checkFields())
            return;
        
        Vehicle v = new Vehicle();
        v.setVin(txtVIN.getText());
        v.setMake(txtMake.getText());
        v.setModel(txtModel.getText());
        v.setYear(txtYear.getText());
        v.setMileage(txtMileage.getText());
        v.setCapacity(txtCapacity.getText());
        if(comboCondition.getSelectedIndex() == 0)
            v.setCondition("Excellent");
        if(comboCondition.getSelectedIndex() == 1)
            v.setCondition("Good");
        if(comboCondition.getSelectedIndex() == 2)
            v.setCondition("Poor");
        v.setRate(txtRentalPrice.getText().substring(1));  //Ignore the first character ($)
        v.setFranchiseNumber(JCGlIO.getInstance().getfN());
        
        String code = "200";
        if(mode == 0)  //Create one
        {
            //send new Franchise to DB
            v.setVehicleID("00");  //Temporary.  CHANGE THIS LATER
            code = UIController.getInstance().UIRouter(v, "ADD");
        }
        
        if(mode == 1)  //Update one
        {
            //Send list.get(listSelection.getSelectedIndex()) to DB for update
            v.setVehicleID(list.get(listSelection.getSelectedIndex()).getVehicleID());
            code = UIController.getInstance().UIRouter(v, "EDIT");
        }
        
        if(mode == 2)  //Delete one
        {
            //Send list.get(listSelection.getSelectedIndex()) to DB for update
            code = UIController.getInstance().UIRouter(v, "DELETE");
        }
        BaseJFrame.getInstance().setScreen(code);
    }//GEN-LAST:event_btnSubmitActionPerformed