You will use either a JList or a JComboBox that contains the sections for seating, instead of the List or Choice components that the textbook mentions. You must create and use an _array of Section objects_ in your applet. The Section class will include the Section, Price, and Number of Tickets Sold for each of the 4 sections. As usual, all variables in the Section class must be private; access to this information should only be through public methods defined in this class.
Notice that you must immediately display the price of a ticket when a section is selected via a list. This price MUST come from the Section class (not the driver class).
You will need an **Order** button to display the Total Amount Due for the tickets just ordered. You will also need a **Summary** button to display all section _names_, the current quantity (number of tickets) sold for each section, and the Total dollar amount sold for each section (You must use a loop here) as well as the grand total of tickets sold for all sections. The Summary button should not zero out the accumulations for the various sections, only display the current values. You must have the ActionListener listen for all buttons and the Quantity text box. If the user presses the enter key in the quantity field, perform the same operation as clicking the Order button. Put the insertion point in the first text field when the applet first displays and again after the text area is displayed
See the attachment.
Please note that this should be a simple project without anything heavy duty. Keep it very very simple so I can break it down to study.
This will need to run as a java Applet