Question: Design and implement a Java program to create a GUI application that for calculating an employees travel expenses and reimbursement. The user will enter the
Design and implement a Java program to create a GUI application that for calculating an employees travel expenses and reimbursement. The user will enter the following data:
Number of days on the trip
Amount of the airfare, if any
Amount of car rental fees, if any
Number of miles driven, if a private vehicle is used
Amount of parking fees, if any
Amount of taxi charges, if any
Conference or seminar registration fees, if any
Lodging charges, per night
Once all expanses are entered the program should then calculate what the employees reimbursement will be based on the following guidelines:
$17 per day for meals
Parking fees, up to $10.00 per day
Taxi charges up to $20.00 per day
Lodging charges up to $95.00 per day
If a private vehicle is used, $0.27 per mile driven
Once calculated your program should display the following information:
Total expenses incurred by the business person
The total allowable expenses for the trip
The excess that must be paid by the business person, if any
The amount saved by the business person if the expenses are under the total allowed
The layout and formatting of your GUI interface should be creative, attractive and easy to use.
I have pasted below a simple example GUI to give you an idea of what is needed in your GUI.


Travel Expenses Number of days on the trip:5 567 Amount of airfare: 143 Amount of car rental: 67 Miles driven: 12 Parking fees: 32 Taxi fees: Conference registration: 525 Lodging charges per night: 167 Reset Calculate Reimbursement Travel Expenses Number of days on the trip:5 567 Amount of airfare: 143 Amount of car rental: 67 Miles driven: 12 Parking fees: 32 Taxi fees: Conference registration: 525 Lodging charges per night: 167 Reset Calculate Reimbursement
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
