Question: Restaurant Bill Application JAVA implement a graphical application for creating a restaurant bill The bill area initially starts out blank. The user may change the
Restaurant Bill Application JAVA
implement a graphical application for creating a restaurant bill
- The bill area initially starts out blank.
- The user may change the Tax rate to any numeric value.
- The user may change the Tip rate to any numeric value.
- The application must have five or more food choices.
- When a food choice is selected, its description and price are added to the bill area.
- If the Clear button is pressed, the bill area is cleared and the total zeroed out.
- If the Total button is pressed, a Pretax total, Tax, Total with Tax, Tip and Total are calculated.
- Once the bill has been totaled, no other food items may be added.
- The application will close when the window is closed (X in upper right-hand corner).
- The bill should line up nicely and be scrollable for long orders. The example below is too short to show the scroll bars. The bill area should not be directly editable by the user.

Restaurant Bill Tax Rate 5.6 % Tip 15 % C&S Pickles Bacon Soup Cake Total Clear Chips & Salsa Bacon Burger Cheesecake Fried Pickles Soup & Salad Cheesecake $ $ $ $ $ $ 4.69 10.69 6.99 6.49 7.79 6.99 Pretax Total Tax $ $ 43.64 2.44 Total w/Tax Tip $ $ 46.08 6.55 Total $ 52.63 Restaurant Bill Tax Rate 5.6 % Tip 15 % C&S Pickles Bacon Soup Cake Total Clear Chips & Salsa Bacon Burger Cheesecake Fried Pickles Soup & Salad Cheesecake $ $ $ $ $ $ 4.69 10.69 6.99 6.49 7.79 6.99 Pretax Total Tax $ $ 43.64 2.44 Total w/Tax Tip $ $ 46.08 6.55 Total $ 52.63
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
