Reference no: EM131321242
JavaPizza
ContactList
At the beginning of all your programs, put a comment box that includes the program name, your name, and a brief description of the program.
Example:
/***********************************************************************
Program Name: ProgramName.java
Programmer's Name: Student Name
Program Description: Describe here what this program will do
***********************************************************************/
How to submit your assignment:
The programs must have the same names as the assignment title.
Each Java source file (*.java) must include a corresponding class file (*.class) program as evidence of success.
In addition to the program source code files and byte code files, put all your program source code files and screen shots of your program output files into a Word document.
You must use a zipped folder to send your weekly assignment to the Dropbox. Do not send subfolders within your zipped folder. Place all of the .java and .class files for the week into the one zipped folder. The zip folder should be named CIS355A_YourLastName_iLab_Week6, and this zip folder will contain all the weekly programming assignments.
Required Software
Eclipse
Steps: 1 and 2
Lab Steps
Step 1: JavaPizza
Develop an application using a JTabbedPane to order a pizza. You will need to ask the customer for their name and phone number. You will ask for the size (choose one) and toppings (choose many) and compute the total. After computing the total, provide a button to display the order summary, which includes the name, phone number, size, toppings, and total. The prices are listed below. Screenshots of a possible solution are included. Your application must include four tabs and open a new window when the button is clicked.
Small: 8.00
Medium: 10.00
Large: 12.00
Each topping is 2.00 extra.
Five images of customer information Bob Smith with phone number, Size Medium pizza, Toppings Mushroom and Onion, Total 14.00 and Order Summary
Step 2: Contact List
Develop a Java application to add a contact into the contact table, and display all contacts in the contact table. The contact table contains two columns, FullName, and PhoneNumber. Both values are text data. Use JOptionPanes to ask for the contact data, and display a confirmation message when the contact is added. Display the list of contacts in the console. Screenshots of a possible solution are included.
Input contact full name, input contact phone number, message contact added; console java with contact list information.
Write a test application named labtest
: Write a test application named LabTest. In the main method, do the following: Input the department name then create a department object. Display a menu to the user and asking for a choice to be entered.
|
Gravitational acceleration at the surface
: Let g0= magnitude of the gravitational acceleration at the surface of the Earth, R = radius of the Earth, and h = height above the Earth's surface
|
Create a 20-item likert scale to assess it
: Compute the scale's reliability, and then, using a statistical software program, delete items until the scale's reliability reaches at least .75 or stops increasing. Consider what sources of random and systematic error might be found in the scale.
|
When and why would nonprobability sampling methods be used
: Under what conditions is sampling bias likely to occur, what are its effects on generalization, and how can it be avoided?
|
Create java application to add a contact into contact table
: Develop a Java application to add a contact into the contact table, and display all contacts in the contact table. The contact table contains two columns, FullName, and PhoneNumber. Both values are text data.
|
Obtain the switching transient solutions
: Obtain the switching transient solutions for a thin-base diode with the p+/n/m structure where n is the thin base of geometrical thickness XB and XBB. n/m is a perfect ohmic contact of infinite recombination rate.
|
Simple harmonic motion at a frequency
: A mass on a spring vibrates in simple harmonic motion at a frequency of 4.0 Hz and an amplitude of 4.0 cm. If a timer is started when its displacement is a maximum (hence x =4cm when t=0), what is the acceleration magnitude when t= 3 s? what is th..
|
Develop a method for coding the findings
: Create a sampling frame, and collect a random or stratified random sample of the male and female students in your class.
|
Write a program that will predict the size of a organisms
: Write a program that will predict size of a population of organisms. The program should ask for starting number of organisms, their average daily population increase (as a percentage), and the number of days they wll multipy.
|