Cis355a – week 6 java pizza and contact list

iLab Overview

Scenario/Summary

Develop one application using JTabbedPanes and JFrames and another application that connects to a MySQL database.

Note!Software Citation Requirements

This course uses open-source software which must be cited when used for any student work. Citation requirements are on the Open Source Applications page. 

Please review the installation instruction files to complete your assignment

 

Deliverables

NOTE

Submit your assignment to the Dropbox, located at the top of this page. For instructions on how to use the Dropbox, read these step-by-step instructions.

(See the Syllabus section “Due Dates for Assignments & Exams” for due dates.)

1.    JavaPizza

2.    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: 

1.    The programs must have the same names as the assignment title.

2.    Each Java source file (*.java) must include a corresponding class file (*.class) program as evidence of success.

3.    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.

4.    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

Access the software at https://lab.devry.edu

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.

 

JavaPizza

Points

Description

Standard header included

1

Must contain program’s name, student name, and description of the program

Program compiles

1

Program does not have any error

Program executes

1

Program runs without any error

Created the JTabbedPane with four tabs

4

The JTabbedPane is displayed with the four required tabs and components on each tab

Total is calculated correctly

5

The total on the last tab is calculated correctly based on information supplied.

Order summary window displayed correctly

8

The order summary window is displayed with a JTextArea, including all information from the four tabs. 

Subtotal

20

  

 

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. 

 

ContactList

Points

Description

Standard header included

1

Must contain program’s name, student name, and description of the program

Program compiles

1

Program does not have any error

Program executes

1

Program runs without any error

Created the JOptionPanes for input

6

Two JOptionPanes are displayed to retrieve input

JOptionPane displayed upon insert

4

A JOptionPane is display to confirm the contact was added

ContactList shown in console

7

The list of contacts is displayed in the console under a heading contact list .

Subtotal

20

 

 

Calculate Your Essay Price
(550 words)

Approximate price: $22

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more