String sql = "INSERT INTO Buses ( RegNo,BusNo, Model, Capacity, DatePurchased,InsuranceStatus,DateInsured,ExpiryDate) VALUES ('"
+ txtRegNo.getText() + "', '"
+ txtBusNo.getText() + "', '"
+ txtModel.getText() + "', '"
+ txtCapacity.getText() + "', '"
+ date_bought.getText() + "', '"
+ txtIStatus.getText() + "', '"
+ date_ins.getText() + "', '"
+ date_expiry.getText() + "')";