Integer Input (50 points)
Write an applet which will determine the cost of the following on-line menu :
Ordering Online - Menu
- Coke .............$0.50
- Hot Dogs .......$1.50
- Popcorn .........$1.00
Allow the user to input the quantity of each item.
Make sure your project can produce the sample output below.
- Document your applet. Include your Name, Date, Project#, and a
description of the project.
- Input the data with the TextField class
- Allow all data input to be of type INTEGER.
- Activate the cost with the Button class.
- Output a report including the quantity of each item and the total cost.
- Output the report with the TextArea class and appendText method.
Sample Output for Project27.java