Delivery in day(s): 5
Unit 41 Programming in Java Assignment
Diploma in Computing and Systems Development
Unit Number and Title
Unit 41 Programming in Java
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.
BlueJ Editor was used to create the application
Javadocs can be used to take help to for the functionality of the class.
It is the main form
User can user All Members Buttonto display all members data
User can use Student Members Buttonto display all student details.
Members count can be displayed using Total members Button
New user can be added using add User Button
We can delete user using the delete button
The following file format is used to read and store members data
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.
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.
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].