Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Need Help With this. Need to create Jframe and Jtabb With the pizza order.

Need Help With this. Need to create Jframe and Jtabb With the pizza order.

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.

Steps

  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
  6. You can copy all of them at once by holding down the CTRL key and clicking on the control.
  7. Selecting a panel will select all the elements in the panel.
  8. Notice that when you copy the controls all the events and handlers are copied over as well.
  9. Select all the code behind the original Pizza_Main (do not copy the control code) and paste it into the new JFrame.
  10. Run the program and ensure the collecting the pizza order information works as in the original program.
  11. In the second panel add
  12. JList that will hold the list of all the orders
  13. TextField that will display the selected order
  14. A delete order button that will delete a selected order.
  15. Update order button that will up the total cost of a selected order.
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question