COIT11222 Java: Implementation of Car Hire Service Application

Verified

Added on  2024/07/02

|11
|769
|174
Practical Assignment
AI Summary
This document presents a solution to a Java programming assignment focused on developing a car hire service application. The assignment involves creating two Java classes: CarHire.java and CarHireGUI.java. The solution includes a UML diagram for the CarHire class, addresses challenges faced during development such as issues with JPanel and data display, and outlines the program's functionality, including data insertion, display, search, and exit. The report also includes screenshots demonstrating the program's compilation, GUI, data insertion process, and error handling. The conclusion states that the development task was successfully completed with no errors and all pre-defined methods implemented as per the assignment brief. References to external resources are also provided.
Document Page
COIT11222
Programming Fundaments

Java programming

Ass -2
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Table of Contents
Introduction
.................................................................................................................................................2
UML Diagram
............................................................................................................................................. 3
How long it took to create the whole program, any problems encountered
.................................................4
Program Completion
................................................................................................................................... 4
Testing of the programming fundamentals
.................................................................................................. 4
Conclusion
................................................................................................................................................... 9
References
.................................................................................................................................................10
List of figures:

Figure 1UML
...............................................................................................................................................3
Figure 2inital step
........................................................................................................................................ 4
Figure 3program compilation process
.........................................................................................................5
Figure 4data insert
.......................................................................................................................................6
Figure 5data insert successful
...................................................................................................................... 7
Figure 6error box
......................................................................................................................................... 8
1
Document Page
Introduction
The given task is about programming fundamentals of Java programming. The given assignment

is basically a car hire service. The screenshots of the graphical user interface (GUI) is already

given in the assignment. Our task is to carry out a development task in this assignment. We need

to create and develop two java classes which are CarHire.java and CarHireGUI.java. Our task as

a programmer is to develop this java program according to the need of the given assignment. All

the information about the method is also given in this assignment. This program is having a limit,

there can be only a maximum of 10 entries in the project. We only need to create that kind of

method in the source code implementation. This task is about best Java programming

fundamentals. We are going to create and develop both the Java classes in this given assignment.

2
Document Page
UML Diagram
The UML diagram of the CarHire.java is given below:

Figure
1UML
3
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
How long it took to create the whole program, any problems
encountered

The whole program took 10 days to complete it. At the initial level the JPannel was not

importing the java frames classes properly. The entered data of the CarHire.java program was

not displaying in a linear form. To resolve that issue we have implemented the list structure in

the java program so that all the data of the customer can be display in a linear form.

Program Completion

The given assignment was quite easy to develop. We just only need to create and develop two

classes as describe in the above introduction. This programming development task took only 2

days to complete.

Testing of the programming fundamentals

Figure
2inital step
This is the initial process of the java program compilation. We have to find the particular

directory where we have created and developed the java source code. After this process, we have

to write this command.

4
Document Page
Figure 3program compilation process
When the program successfully compiled this GUI will come up. This is the first screen of the

particular java project.

5
Document Page
Figure 4data insert
The user can test the java program by inserting some data into this CarHireGUI.java class. The

user can perform the multiple operations like entering, display, search and exit.

6
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
Figure 5data insert successful
After successful insertion of the data, all the information about the customer will automatically

save and the user can see the entered data.

7
Document Page
Figure 6error box
For successfully data insertion all the field of the user interface class should be filled. If any of

the fields is not having the data at that time this error pop up box will generate.

8
Document Page
Conclusion
The development task of this assignment is successfully completed. Both java classes

CarHire.java and CarHireGUI.java is successfully developed. There is no error in the source

code of this java programming fundamentals. The above-given solution is developed according

to the brief description. The graphical user interface (GUI) is the same as given in the brief. All

the pre-defined methods are implemented in this programming fundamentals. Both the classes

are created according to the requirements of this assignment. There is no random method

declaration available in this programming solutions.

9
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
References
Ceta, N. (2018). All You Need to Know About UML Diagrams: Types and 5+ Examples. [online]
Tallyfy. Available at: https://tallyfy.com/uml-diagram/ [Accessed 22 Sep. 2018].

Burd, B. (2018). How to Create GUI Applications with Java Classes - dummies. [online]
dummies. Available at: https://www.dummies.com/programming/java/how-to-create-gui-

applications-with-java-classes/ [Accessed 22 Sep. 2018].

Gym, C. (2018). [online] Available at: https://www.quora.com/Which-are-the-best-video-
tutorials-to-get-for-a-complete-Java-GUI-using-NetBeans [Accessed 22 Sep. 2018].

10
chevron_up_icon
1 out of 11
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]