Object oriented development week 4

Part 1Modify your Java application so that it is an easy-to-use GUI application where all of the interaction is performed on one screen. You will now take the individual components and translate them to a single interactive GUI interface using the following GUI components, container, the event listeners, and event subclasses to enhance your application as a more GUI-appropriate interface:GUI componentsContainerEvent listenersEvent subclasses (at least 3–4 utilized)ActionEventItemEventFocusEventKeyEventMouseEventWindowEventActionPerformed MethodPart 2For this assignment, you are being asked to make sure you are exception handling by verifying that all of the customer-entered information is valid before the order is submitted to ensure order accuracy.The customer information that the customer must now enter that should be validated includes the following:Entered user name (must fill in a name)Entered at least one sub to orderSelected all three attributes for sub (such as bread type, sub type, and sub size)Entered delivery address that includes street, city, state, and zip codeEntered telephone number xxx-xxx-xxxxIn this assignment, you are adding in error handling to make sure the customer is filling in all of the required information.To accomplish this task, you will be utilizing the following Java classes:Methods in the character class and StringBuilder class to validate and manipulate characters in a stringTry… Catch for the exception handling of all input fieldsDeliverableThe following are the Unit 4 Individual Project deliverables:Update the title page for the Design Document with the project name (Unit 4 IP) and the date.Add the following section header: Phase 4 Revised Application Screenshots.Add screenshots of each distinct screen from your running application.Name the document yourname_ITSD424_IP4.doc.Submit the design document and the zipped Java project files for grading.
thehotel.zip

itsd424_ip3.docx

Don't use plagiarized sources. Get Your Custom Essay on
Object oriented development week 4
Just from $13/Page
Order Essay

Unformatted Attachment Preview

Famous Favorite Subs Plan(III)
ITSD424
UNIT III IP
Table of Contents
Table of figures
1 | Page
2
Introduction
3
Use cases
Figure 1: Online order system use case diagram
3
4
Class Diagram
Figure 2: Class diagram
4
5
Activity diagram
Figure 3: Activity diagram
5
6
Sequence diagram
6
Phase 2 Application Screenshots
Figure 5: Name entry screen
Figure 6: Address entry screen
Figure 7: Customer information Screen
Figure 8: Order menu before order is placed
Figure 9: Order menu after order is placed
8
8
8
8
9
10
References
14
2 | Page
UML Model for Project
Introduction
System design is a process that helps to conceptualize the software system requirements into a
software implementation. It involves taking the user requirements and using it to define system
architecture, interfaces and modules for the system. The most widely used method for software
system design today is Object-Oriented analysis and design methods for their reusability and
easy way of expressing relationship between system components(Martin, 2011). To be able to
efficiently utilize the power of object-oriented analysis and design methods you need to use its
standard language, Unified Modeling language (UML). UML is a general purpose modeling
language that is used to provide a standard way to visualize the design of a system. UML is rich
of modeling notations and methods that are used to create different diagrams to represent
structural and behavior information of the system (Wazlawick, 2014). Example of this diagrams
include class diagram, use case diagram, deployment diagrams, activity diagram, state, object,
and sequence among other.
The diagram in the following sections represents the structural and behavior of the Online
ordering system.
Use cases
Use case diagram are used to represent a user’s interaction with the system hence showing the
relationship between the system and its users. Use cases identify the different actors (users) of
the system and the different ways (use cases) they interact with the system. The use case diagram
below shows the two main users of the online orders system and how the use the system.
3 | Page
Figure 1: Online order system use case diagram
Class Diagram
UML Class diagram are static structure diagram used to describe the structure of software system
by showing classes, operations, their attributes and the relationship among them. Classes form
the main building block of Object Oriented modeling and hence class diagram help to
conceptualize the general structure of the system that can later be translate into programming
code. Classes in class diagram represent the main elements in the application to be programmed
(Booch, 1994).
The diagram below show the class diagram for the recommend online ordering system. Boxes
represent classes. Boxes are supposed to have three compartments to complete the represent class
information in full, one for class name, second for class attributes and the third for class
operations. The diagram below shows a simple representation of classes. The lines represent
4 | Page
links between classes and show the kind of relationship between classes. For example user is
generalization for customer and sales. Customer makes order, and order is composed of products
Figure 2: Class diagram
Activity diagram
Activity diagram are used to show the order in which actions take place in the system and their
outcomes. Activity diagram are used by system analyst are modeling tools so as to help
understand how objects in the system behave and interact with the system(Alan Dennis, Barbara
Haley Wixom, 2012). Activity can be used to represent single or multiple use cases. The diagram
below show the events taking place in the system from the time customer logs in into the system
to the time the time they logout.
5 | Page
Figure 3: Activity diagram
Sequence diagram
Sequence diagram is used to describe how interaction within the system objects. The sequence
diagram illustrates the Classes and object involved in the interaction scenario and the sequence
of exchange of messages between the objects(Gary B. Shelly, 2012). Sequence diagrams focus
on the ‘lifelines’ of an object and the communication with other objects in carrying out the
functions before the end of their lifelines.
The sequence diagram below shows interaction of the two objects with the system. The objects
involved in the collaboration are displayed by boxes at the top of the diagram.
6 | Page
Figure SEQ Figure * ARABIC 4: Sequence diagram
Pha
se 2
Appl
icati
on
Scre
ensh
ots
Figure 5: Name entry screen
7 | Page
Figure 6: Address entry screen
Figure 7: Customer information Screen
8 | Page
Figure 8: Order menu before order is placed
9 | Page
Figure 9: Order menu after order is placed
10 | Page
11 | Page
12 | Page
13 | Page
References
Alan Dennis, Barbara Haley Wixom, R. (2012). System Analysis and Design (5th Editio ed.). Danver: John
Wiley & Sons, Inc.
Booch, G. (1994). Object Oriented Analysis and Design with Applications.
Oghenekaro, P., & C, E. (2008). A Comparative Analysis of Structured and Object-Oriented Programming
Methods. (c).
Wazlawick, R. (2014). Object-Oriented Analysis and Design for Information Systems. Object-Oriented
Analysis and Design for Information Systems .
14 | Page

Purchase answer to see full
attachment

Order a unique copy of this paper
(550 words)

Approximate price: $22

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

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

Order your essay today and save 15% with the discount code ESSAYHELP