Details of this Paper

Caclulator gui and meal program

Description

solution


Question

Part 1 (Labels, Buttons, Text Fields);Create a simple windows calculator in Java. It should have a labeled text field for the user to provide input, as well as an Add, Subtract, and Clear buttons. There should be a label or disabled text field for output.;Add event handling to the buttons to add the value the user enters to the current total, subtract the value entered from the current total, and clear the current total.;Part 2 (Radio Buttons);Make a windows program in Java that has a labeled text field for the price of a Meal. There are different discounts for None, Student, and Senior and your program should have these as radio buttons. There should be a button to print the order and a label or disabled text field for output.;Students receive a free drink for.70 off and seniors receive 15% off the entire order.;Add event handling to the button find the value the user enters after taking into account the choice of possible discounts by the currently selected radio button.

 

Paper#70541 | Written in 18-Jul-2015

Price : $27
SiteLock