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-select

匿名用户 最后更新于 2021-11-29 17:10 计算机类Computing




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

已邀请: