Solved CST 183 Programming Assignment 8

$30.00

Original Work ?

Download Details:

  • Name: Project8-ddirud.zip
  • Type: zip
  • Size: 449.15 KB

Category: Tags: , , You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

Description

5/5 - (1 vote)

Objective
To build a complete working Java program that includes a variety of user interface components.
Overview & Instruction
Write a Java application that acts as a “front-end” GUI to set preferences for ordering form at a pizza
restaurant.
Include the following components for user data entry:
Text field to enter the name of the server. Include appropriate labels.
Radio button group for choice for size (Small, Medium, Large, X-Large).
Drop-down list for identifying a list of specialty pizzas to choose from. Include at least five types of
pizza (i.e “Supreme”, “Meat Lovers”, etc.)
Check boxes for add-on ingredients to the standard specialties (i.e. extra cheese, extra sauce, etc.)
Text area for entering any special instructions.
Slider bar to allow the customer to select the “spiciness level” (1-20) of the dipping sauce that
accompanies all orders.
Button to “submit” or “send the information”
There is much room for creativity within these specifications, so feel free to embellish as you wish.
The context of this assignment is to build the “front-end” GUI for what is likely a far more complex
application. To capture the information design a simple class that includes required constructors, set/get
methods, and a tostring() method (that returns all collected info as one String object), but nothing
else.When the button is pressed, collect the input from the interface and “set” the data into one object of
your class. To display a summary of the entire order, design the button click to present the output as a string
within a dialog box. When the button is clicked, collect the info from the form, “set” it into the object of your
class, and then produce the string via a call to the toString() method that can be displayed in a simple
output dialog box.
Arrange the GUI components the best that you can by managing the order that they are added to the
window as well as the window size itself. You may choose any layout management scheme you would like
for this program.
Finally, be sure your interface/class is set up to handle an immediate user button click. Have default values
or setting included to avoid any runtime exceptions from this action.