Skip to content

Commit 7b38799

Browse files
OOP Project
1 parent d492c67 commit 7b38799

File tree

261 files changed

+15241
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

261 files changed

+15241
-0
lines changed

.vscode/settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"git.ignoreLimitWarning": true
3+
}

Book Catalogue.ser

468 Bytes
Binary file not shown.

Book Catalogue.txt

368 Bytes
Binary file not shown.

Employee Account.ser

109 Bytes
Binary file not shown.

Employee Information.ser

189 Bytes
Binary file not shown.

Member Account.ser

169 Bytes
Binary file not shown.

Member Information.ser

1.48 KB
Binary file not shown.

build.xml

+73
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- You may freely edit this file. See commented blocks below for -->
3+
<!-- some examples of how to customize the build. -->
4+
<!-- (If you delete it and reopen the project it will be recreated.) -->
5+
<!-- By default, only the Clean and Build commands use this build script. -->
6+
<!-- Commands such as Run, Debug, and Test only use this build script if -->
7+
<!-- the Compile on Save feature is turned off for the project. -->
8+
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
9+
<!-- in the project's Project Properties dialog box.-->
10+
<project name="LibraryManagement" default="default" basedir=".">
11+
<description>Builds, tests, and runs the project LibraryManagement.</description>
12+
<import file="nbproject/build-impl.xml"/>
13+
<!--
14+
15+
There exist several targets which are by default empty and which can be
16+
used for execution of your tasks. These targets are usually executed
17+
before and after some main targets. They are:
18+
19+
-pre-init: called before initialization of project properties
20+
-post-init: called after initialization of project properties
21+
-pre-compile: called before javac compilation
22+
-post-compile: called after javac compilation
23+
-pre-compile-single: called before javac compilation of single file
24+
-post-compile-single: called after javac compilation of single file
25+
-pre-compile-test: called before javac compilation of JUnit tests
26+
-post-compile-test: called after javac compilation of JUnit tests
27+
-pre-compile-test-single: called before javac compilation of single JUnit test
28+
-post-compile-test-single: called after javac compilation of single JUunit test
29+
-pre-jar: called before JAR building
30+
-post-jar: called after JAR building
31+
-post-clean: called after cleaning build products
32+
33+
(Targets beginning with '-' are not intended to be called on their own.)
34+
35+
Example of inserting an obfuscator after compilation could look like this:
36+
37+
<target name="-post-compile">
38+
<obfuscate>
39+
<fileset dir="${build.classes.dir}"/>
40+
</obfuscate>
41+
</target>
42+
43+
For list of available properties check the imported
44+
nbproject/build-impl.xml file.
45+
46+
47+
Another way to customize the build is by overriding existing main targets.
48+
The targets of interest are:
49+
50+
-init-macrodef-javac: defines macro for javac compilation
51+
-init-macrodef-junit: defines macro for junit execution
52+
-init-macrodef-debug: defines macro for class debugging
53+
-init-macrodef-java: defines macro for class execution
54+
-do-jar: JAR building
55+
run: execution of project
56+
-javadoc-build: Javadoc generation
57+
test-report: JUnit report generation
58+
59+
An example of overriding the target for project execution could look like this:
60+
61+
<target name="run" depends="LibraryManagement-impl.jar">
62+
<exec dir="bin" executable="launcher.exe">
63+
<arg file="${dist.jar}"/>
64+
</exec>
65+
</target>
66+
67+
Notice that the overridden target depends on the jar target and not only on
68+
the compile target as the regular run target does. Again, for a list of available
69+
properties which you can use, check the target you are overriding in the
70+
nbproject/build-impl.xml file.
71+
72+
-->
73+
</project>

build/built-jar.properties

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#Sat, 12 May 2018 01:11:50 -0700
2+
3+
4+
C\:\\Users\\afzal\\OneDrive\\Documents\\NetBeansProjects\\LibraryManagement=

build/classes/.netbeans_automatic_build

Whitespace-only changes.

build/classes/.netbeans_update_resources

Whitespace-only changes.

build/classes/AccountLogin$1.class

719 Bytes
Binary file not shown.

build/classes/AccountLogin$2.class

719 Bytes
Binary file not shown.

build/classes/AccountLogin$3.class

719 Bytes
Binary file not shown.

build/classes/AccountLogin$4.class

518 Bytes
Binary file not shown.

build/classes/AccountLogin.class

6.4 KB
Binary file not shown.

build/classes/AccountLogin.form

+160
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
3+
<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
4+
<Properties>
5+
<Property name="defaultCloseOperation" type="int" value="3"/>
6+
<Property name="background" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
7+
<Color blue="ff" green="ff" red="ff" type="rgb"/>
8+
</Property>
9+
</Properties>
10+
<SyntheticProperties>
11+
<SyntheticProperty name="formSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,-73,0,0,2,104"/>
12+
<SyntheticProperty name="formSizePolicy" type="int" value="0"/>
13+
<SyntheticProperty name="generateSize" type="boolean" value="true"/>
14+
<SyntheticProperty name="generateCenter" type="boolean" value="true"/>
15+
</SyntheticProperties>
16+
<AuxValues>
17+
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
18+
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
19+
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
20+
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
21+
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
22+
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
23+
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
24+
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
25+
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
26+
</AuxValues>
27+
28+
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout">
29+
<Property name="useNullLayout" type="boolean" value="true"/>
30+
</Layout>
31+
<SubComponents>
32+
<Component class="javax.swing.JLabel" name="jLabel1">
33+
<Properties>
34+
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
35+
<Font name="Times New Roman" size="24" style="1"/>
36+
</Property>
37+
<Property name="text" type="java.lang.String" value="Accounts Incharge Login"/>
38+
</Properties>
39+
<Constraints>
40+
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout" value="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout$AbsoluteConstraintsDescription">
41+
<AbsoluteConstraints x="170" y="110" width="260" height="30"/>
42+
</Constraint>
43+
</Constraints>
44+
</Component>
45+
<Component class="javax.swing.JLabel" name="jLabel2">
46+
<Properties>
47+
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
48+
<Font name="Times New Roman" size="18" style="0"/>
49+
</Property>
50+
<Property name="text" type="java.lang.String" value="Username"/>
51+
</Properties>
52+
<Constraints>
53+
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout" value="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout$AbsoluteConstraintsDescription">
54+
<AbsoluteConstraints x="130" y="180" width="86" height="-1"/>
55+
</Constraint>
56+
</Constraints>
57+
</Component>
58+
<Component class="javax.swing.JLabel" name="jLabel3">
59+
<Properties>
60+
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
61+
<Font name="Times New Roman" size="18" style="0"/>
62+
</Property>
63+
<Property name="text" type="java.lang.String" value="Password"/>
64+
</Properties>
65+
<Constraints>
66+
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout" value="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout$AbsoluteConstraintsDescription">
67+
<AbsoluteConstraints x="130" y="240" width="-1" height="-1"/>
68+
</Constraint>
69+
</Constraints>
70+
</Component>
71+
<Component class="javax.swing.JButton" name="jButton1">
72+
<Properties>
73+
<Property name="text" type="java.lang.String" value="Login"/>
74+
</Properties>
75+
<Events>
76+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/>
77+
</Events>
78+
<Constraints>
79+
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout" value="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout$AbsoluteConstraintsDescription">
80+
<AbsoluteConstraints x="360" y="290" width="75" height="39"/>
81+
</Constraint>
82+
</Constraints>
83+
</Component>
84+
<Component class="javax.swing.JTextField" name="jTextField1">
85+
<Events>
86+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jTextField1ActionPerformed"/>
87+
</Events>
88+
<Constraints>
89+
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout" value="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout$AbsoluteConstraintsDescription">
90+
<AbsoluteConstraints x="310" y="180" width="177" height="-1"/>
91+
</Constraint>
92+
</Constraints>
93+
</Component>
94+
<Component class="javax.swing.JPasswordField" name="jPasswordField1">
95+
<Constraints>
96+
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout" value="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout$AbsoluteConstraintsDescription">
97+
<AbsoluteConstraints x="310" y="240" width="177" height="-1"/>
98+
</Constraint>
99+
</Constraints>
100+
</Component>
101+
<Component class="javax.swing.JButton" name="jButton2">
102+
<Properties>
103+
<Property name="text" type="java.lang.String" value="Back"/>
104+
</Properties>
105+
<Events>
106+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton2ActionPerformed"/>
107+
</Events>
108+
<Constraints>
109+
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout" value="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout$AbsoluteConstraintsDescription">
110+
<AbsoluteConstraints x="140" y="290" width="-1" height="39"/>
111+
</Constraint>
112+
</Constraints>
113+
</Component>
114+
<Component class="javax.swing.JLabel" name="jLabel4">
115+
<Properties>
116+
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
117+
<Image iconType="3" name="/books1.jpg"/>
118+
</Property>
119+
</Properties>
120+
<Constraints>
121+
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout" value="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout$AbsoluteConstraintsDescription">
122+
<AbsoluteConstraints x="0" y="0" width="600" height="100"/>
123+
</Constraint>
124+
</Constraints>
125+
</Component>
126+
<Component class="javax.swing.JSeparator" name="jSeparator1">
127+
<Constraints>
128+
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout" value="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout$AbsoluteConstraintsDescription">
129+
<AbsoluteConstraints x="0" y="100" width="600" height="10"/>
130+
</Constraint>
131+
</Constraints>
132+
</Component>
133+
<Component class="javax.swing.JSeparator" name="jSeparator2">
134+
<Constraints>
135+
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout" value="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout$AbsoluteConstraintsDescription">
136+
<AbsoluteConstraints x="0" y="340" width="600" height="10"/>
137+
</Constraint>
138+
</Constraints>
139+
</Component>
140+
<Component class="javax.swing.JSeparator" name="jSeparator3">
141+
<Constraints>
142+
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout" value="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout$AbsoluteConstraintsDescription">
143+
<AbsoluteConstraints x="160" y="150" width="280" height="10"/>
144+
</Constraint>
145+
</Constraints>
146+
</Component>
147+
<Component class="javax.swing.JLabel" name="jLabel5">
148+
<Properties>
149+
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
150+
<Image iconType="3" name="/books2.jpg"/>
151+
</Property>
152+
</Properties>
153+
<Constraints>
154+
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout" value="org.netbeans.modules.form.compat2.layouts.DesignAbsoluteLayout$AbsoluteConstraintsDescription">
155+
<AbsoluteConstraints x="0" y="340" width="600" height="60"/>
156+
</Constraint>
157+
</Constraints>
158+
</Component>
159+
</SubComponents>
160+
</Form>

build/classes/AccountSetting$1.class

733 Bytes
Binary file not shown.

build/classes/AccountSetting$2.class

733 Bytes
Binary file not shown.

build/classes/AccountSetting$3.class

733 Bytes
Binary file not shown.

build/classes/AccountSetting$4.class

599 Bytes
Binary file not shown.

build/classes/AccountSetting.class

7.23 KB
Binary file not shown.

build/classes/AccountSetting.form

+112
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
3+
<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
4+
<Properties>
5+
<Property name="defaultCloseOperation" type="int" value="3"/>
6+
</Properties>
7+
<SyntheticProperties>
8+
<SyntheticProperty name="formSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,-73,0,0,2,104"/>
9+
<SyntheticProperty name="formSizePolicy" type="int" value="0"/>
10+
<SyntheticProperty name="generateSize" type="boolean" value="true"/>
11+
<SyntheticProperty name="generateCenter" type="boolean" value="true"/>
12+
</SyntheticProperties>
13+
<AuxValues>
14+
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
15+
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
16+
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
17+
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
18+
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
19+
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
20+
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
21+
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
22+
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
23+
</AuxValues>
24+
25+
<Layout>
26+
<DimensionLayout dim="0">
27+
<Group type="103" groupAlignment="0" attributes="0">
28+
<Group type="102" attributes="0">
29+
<EmptySpace pref="80" max="32767" attributes="0"/>
30+
<Group type="103" groupAlignment="0" attributes="0">
31+
<Group type="102" alignment="1" attributes="0">
32+
<Component id="jButton4" min="-2" pref="184" max="-2" attributes="0"/>
33+
<EmptySpace min="-2" pref="336" max="-2" attributes="0"/>
34+
</Group>
35+
<Group type="102" alignment="1" attributes="0">
36+
<Component id="jButton5" min="-2" pref="184" max="-2" attributes="0"/>
37+
<EmptySpace min="-2" pref="128" max="-2" attributes="0"/>
38+
</Group>
39+
<Group type="102" alignment="1" attributes="0">
40+
<Component id="jLabel4" min="-2" max="-2" attributes="0"/>
41+
<EmptySpace min="-2" pref="209" max="-2" attributes="0"/>
42+
</Group>
43+
<Group type="102" alignment="1" attributes="0">
44+
<Component id="jButton1" min="-2" pref="140" max="-2" attributes="0"/>
45+
<EmptySpace min="-2" pref="34" max="-2" attributes="0"/>
46+
</Group>
47+
</Group>
48+
</Group>
49+
</Group>
50+
</DimensionLayout>
51+
<DimensionLayout dim="1">
52+
<Group type="103" groupAlignment="0" attributes="0">
53+
<Group type="102" alignment="0" attributes="0">
54+
<EmptySpace min="-2" pref="23" max="-2" attributes="0"/>
55+
<Component id="jButton1" min="-2" pref="39" max="-2" attributes="0"/>
56+
<EmptySpace max="-2" attributes="0"/>
57+
<Component id="jLabel4" min="-2" max="-2" attributes="0"/>
58+
<EmptySpace pref="63" max="32767" attributes="0"/>
59+
<Component id="jButton4" min="-2" pref="63" max="-2" attributes="0"/>
60+
<EmptySpace min="-2" pref="36" max="-2" attributes="0"/>
61+
<Component id="jButton5" min="-2" pref="63" max="-2" attributes="0"/>
62+
<EmptySpace min="-2" pref="79" max="-2" attributes="0"/>
63+
</Group>
64+
</Group>
65+
</DimensionLayout>
66+
</Layout>
67+
<SubComponents>
68+
<Component class="javax.swing.JLabel" name="jLabel4">
69+
<Properties>
70+
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
71+
<Font name="Times New Roman" size="24" style="1"/>
72+
</Property>
73+
<Property name="text" type="java.lang.String" value="Account Settings"/>
74+
</Properties>
75+
</Component>
76+
<Component class="javax.swing.JButton" name="jButton4">
77+
<Properties>
78+
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
79+
<Font name="Times New Roman" size="18" style="0"/>
80+
</Property>
81+
<Property name="text" type="java.lang.String" value="Member"/>
82+
</Properties>
83+
<Events>
84+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton4ActionPerformed"/>
85+
</Events>
86+
</Component>
87+
<Component class="javax.swing.JButton" name="jButton5">
88+
<Properties>
89+
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
90+
<Font name="Times New Roman" size="18" style="0"/>
91+
</Property>
92+
<Property name="text" type="java.lang.String" value="Employee"/>
93+
</Properties>
94+
<Events>
95+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton5ActionPerformed"/>
96+
</Events>
97+
</Component>
98+
<Component class="javax.swing.JButton" name="jButton1">
99+
<Properties>
100+
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
101+
<Font name="Times New Roman" size="14" style="0"/>
102+
</Property>
103+
<Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor">
104+
<Image iconType="3" name="/SignOut.jpg"/>
105+
</Property>
106+
</Properties>
107+
<Events>
108+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/>
109+
</Events>
110+
</Component>
111+
</SubComponents>
112+
</Form>

build/classes/AccountsSettings.class

9.18 KB
Binary file not shown.

build/classes/AddBook$1.class

684 Bytes
Binary file not shown.

build/classes/AddBook$2.class

684 Bytes
Binary file not shown.

build/classes/AddBook$3.class

684 Bytes
Binary file not shown.

build/classes/AddBook$4.class

498 Bytes
Binary file not shown.

build/classes/AddBook.class

8.05 KB
Binary file not shown.

0 commit comments

Comments
 (0)