Unit 41 Programming in Java Assignment

Home
breadCrumb image
Solution
breadCrumb image
Unit 41 Programming in Java Assignment
Programming in Java Assignment
Unit 41 Programming in Java Assignment

Programme

Diploma in Computing and Systems Development

Unit Number and Title

Unit 41 Programming in Java

QFC Level

Level 5

Unit Code

F/601/1528

Introduction

This report is based on the application which we programmed. This is mainly prepared to provide the complete understanding of the code which we used to develop this code. The application which we developed is programmed to track all the membership detail of the university library such as: student membership and staff membership. The staff membership detail is collected in the application by recording the first name, last name, library number which is an 8 character string beginning STAFF, gender of the staff, staff number and room number of the staff. The maximum string length for the staff room number is 6 characters long. The information of student membership is collected by recoding the first name, last name, library number, gender, student ID and course code of the student.

The program is developed as java standard programming language so it is fully object oriented and coded in BLUEj editor.

unit 41 java image

Code Listing

Member.java

Unit 41 java image - HND Help

unit 41 java image2 - HND Assignment

Unit 41 Java image 3 - HND Assignment

Unit 41 java image 4 - HND Help

Unit 41 java image 5 - HND help

    /**

unit 41 java image 6 - HND Assignment

StaffMember.java

Unit 41 java image image 6  - HND

unit 41 java image 10 - HND Helpunit 41 java image - Assignment

StudentMember.java

unit 41 java image 10 - HND Assignment

unit 41 java image 11 - Assignment Help

unit 41 java image 12 - HND Help

  Library.java

Unit 41 java image

unit 41 java image 14

unit 41 java image 15

 

unit 41 java image 16

unit 41 java image - Assignment

unit 41 java image 18

 unit 41 java image 20 

unit 41 java image 21 - Assignment

BlueJ Editor was used to create the application

BlueJ Screenshot

unit 41 java image - HND help

JavaDocs

Javadocs can be used to take help to for the functionality of the class.

unit 41 java image 23

Application Screens

It is the main form

unit 41 java image 24

User can user All Members Buttonto display all members data

unit 41 java image - Assignmnet

User can use Student Members Buttonto display all student details.

unit 41 java image

Members count can be displayed using Total members Button

unit 41 java image 27

New user can be added using add User Button

unit 41 java image 28

We can delete user using the delete button

unit 41 java image 29

The following file format is used to read and store members data

unit 41 java image 30

 

Note: - the program used the file named data.txt to read members details and it will create a new file data1.txt when the user will save the details.

Conclusion

The developed program for the student/staff membership application for the university library is a very good program. It is fully an object oriented program so it is easy to use and code for the programmers. The developed program has various features and functionality such as: easy and clear graphical user interface which makes it very simple and easy to use for the application user, anyone can easily use and manage it. The application is also implemented with many other features and functionality like application user can easily add new staff and student members, list all members, list all staff  and student members, return the total number of members, easily find the members by just searching the membership number of the member, delete the specific member from list, clear text in any visible windows in the main GUI, save the data in the text file and also exit to the application easily by providing the interface there like buttons, links and search boxes.

This report contains all the codes of the program so the report reader can easily understand the code which is used to develop this application.

References

JavaWorld.(2016). Welcome to JavaWorld.com. [online] Available at: http://www.javaworld.com/ [Accessed 4 May 2016].
Studytonight.com, (2016).Features of Java | Core Java Tutorial | Study tonight. [online] Available at: http://www.studytonight.com/java/features-of-java.php [Accessed 20 Jan. 2016].
www.javatpoint.com, (2015). JVM | Java Virtual Machine - Javatpoint. [online] Available at: http://www.javatpoint.com/internal-details-of-jvm [Accessed 19 Dec. 2015].
www.tutorialspoint.com, (2015). Java Inheritance. [online] Available at: http://www.tutorialspoint.com/java/java_inheritance.htm [Accessed 7 Dec. 2015].
Umlet.com, (2015).UMLet - Free UML Tool for Fast UML Diagrams. [online] Available at: http://www.umlet.com/ [Accessed 10 Dec. 2015].
(Etutorials.org, 2015)Netbeans.org, (2015).Welcome to NetBeans. [online] Available at: https://netbeans.org/ [Accessed 7 Dec. 2015].
Docs.oracle.com, (2015).Advantages of Exceptions (The Java™ Tutorials > Essential Classes > Exceptions). [online] Available at: https://docs.oracle.com/javase/tutorial/essential/exceptions/advantages.html [Accessed 7 Dec. 2015].

FAQ's