Question: 4 (12 points) Write Java program to do the following: a filled Juist with 10 books and their corresponding ILOS (1) prices (NIS), two Radio
4 (12 points) Write Java program to do the following: a filled Juist with 10 books and their corresponding ILOS (1) prices (NIS), two Radio Buttons namely Cash 5% and Cheque 0%, a Button "Total Price" to compute the total price of multi-selected books with discount = 5% if the payment method is Cash else no discount. A JLabel to display the final price (with/without) discount. All components are added to JPanel with flow layout as shown below. Final Total Price 219 NIS Cash 5% Book-100 Book-40 Book-160 Book-30 Cheque 0% Book-30 Book-48 Book-50 Book-200
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
