Posted: February 1st, 2021

Wk4 programming practice | Computer Science homework help


Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

Working with Lists and Tabs

In this weeks practice program you are going to extend the Week 3 Pizza Graphical user Interface program and add JTabbs and JLists to the interface.  While is it a good idea for you to continue working with the program you created in the previous week, you can download a working solution and start with this solution.

If you have any questions or need any help post a question in the Programming/Practice Help discussion in the Introduction & Resources module.


  1. If you are using your solution, make a copy of your solution, rename it to WK4 Practice (or something similiar) then open up the copy.
  2. Create a new JFrame form in the application.
  3. Add a JTabb to new, blank form.
  4. Add two panels to the JTabb.
  5. Open up the “old” form with the original pizza controls, then select the controls and copy and paste them to the one of the panels in the new form with the JTabb
    1. You can copy all of them at once by holding down the CTRL key and clicking on the control.
    2. Selecting a panel will select all the elements in the panel.
    3. Notice that when you copy the controls all the events and handlers are copied over as well.
  6. Select all the code behind the original Pizza_Main (do not copy the control code) and paste it into the new JFrame.
  7. Run the program and ensure the collecting the pizza order information works as in the original program.
  8. In the second panel add
    1. JList that will hold the list of all the orders
    2. TextField that will display the selected order
    3. A delete order button that will delete a selected order.
    4. Update order button that will up the total cost of a selected order.

Expert paper writers are just a few clicks away

Place an order in 3 easy steps. Takes less than 5 mins.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
error: Content is protected !!
Open chat
Order through WhatsApp!
You Can Now Place your Order through WhatsApp


Order your essay today and save 30% with the discount code DISCOUNTS2022