Skip to content
This repository was archived by the owner on Jan 24, 2023. It is now read-only.

Commit edf894c

Browse files
committed
Updated Directory Structure
1 parent b5239a6 commit edf894c

File tree

352 files changed

+185
-6900
lines changed

Some content is hidden

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

352 files changed

+185
-6900
lines changed

Database/HMSdb/log/log.ctrl

0 Bytes
Binary file not shown.

Database/HMSdb/log/log1.dat

0 Bytes
Binary file not shown.

Database/HMSdb/log/logmirror.ctrl

0 Bytes
Binary file not shown.

Database/HMSdb/seg0/c20.dat

0 Bytes
Binary file not shown.

Database/HMSdb/seg0/c4f0.dat

0 Bytes
Binary file not shown.

Database/HMSdb/seg0/c620.dat

0 Bytes
Binary file not shown.

Database/HMSdb/seg0/c631.dat

0 Bytes
Binary file not shown.

Database/HMSdb/seg0/c641.dat

0 Bytes
Binary file not shown.

Database/HMSdb/seg0/c850.dat

0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.

Installation Instruction.html

+71
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<html><head><style>body {
2+
color: black;
3+
}
4+
</style></head><body><h1 id="hotel-management-system">Hotel Management System</h1>
5+
<p>Created by <a href="https://github.com/sparshagarwal25" title="Sparsh Agarwal">Sparsh Agarwal</a>, <a href="https://github.com/RaghavGoyal12301" title="Raghav Goyal">Raghav Goyal</a>, Vineet Sharma, Priya Kaushik</p>
6+
<p><a href="https://github.com/sparshagarwal25/HotelManagementSystem" title="Hotel Management System">GitHub Link</a></p>
7+
<h2 id="about">About</h2>
8+
<p>In this project we will make a Java Swing GUI software for Hotel Management.
9+
In which the </p>
10+
<ul>
11+
<li>User can -<ul>
12+
<li>Make Account</li>
13+
<li>Login</li>
14+
<li>Book Room</li>
15+
<li>Book Services</li>
16+
<li>Make Complaints</li>
17+
<li>Checkout</li>
18+
<li>Leave Feedback</li>
19+
</ul>
20+
</li>
21+
<li>Admin can - <ul>
22+
<li>Login</li>
23+
<li>See Customer Details</li>
24+
<li>Respond to Customer Complaints</li>
25+
<li>See Report</li>
26+
<li>See Feedback</li>
27+
</ul>
28+
</li>
29+
<li>Everyone can - <ul>
30+
<li>See Hotel Info</li>
31+
<li>See Room Info</li>
32+
<li>See About Software</li>
33+
</ul>
34+
</li>
35+
</ul>
36+
<h2 id="installation-instructions">Installation Instructions</h2>
37+
<h3 id="prerequisites">Prerequisites</h3>
38+
<ul>
39+
<li>JDK 1.8 + Java 13 installed (if not follow this <a href="https://docs.oracle.com/en/java/javase/13/install/installation-jdk-microsoft-windows-platforms.html#GUID-A7E27B90-A28D-4237-9383-A58B416071CA">instruction</a>)</li>
40+
<li>Apache NetBeans 11.3 (download from this <a href="https://netbeans.apache.org/download/index.html">link</a>)</li>
41+
</ul>
42+
<h3 id="steps">Steps</h3>
43+
<p>Now that we have all the above things resolved we can import our Project.</p>
44+
<ol>
45+
<li>Extract the Project Folder.</li>
46+
<li>Open NetBeans.</li>
47+
<li>Go to Services Tab and open Databases tab.</li>
48+
<li>Right Click on Java DB option and select Properties.</li>
49+
<li>In the Java DB installation select the derby.jar file from the Libraries Folder.</li>
50+
<li>Now in the Database location option select the path where you want to save the database.</li>
51+
<li>Select OK.</li>
52+
<li>Now right click on Java DB and select create a New Database.</li>
53+
<li>Name the Database as &quot;HMSdb&quot;, Username as &quot;user01&quot;, Password as &quot;pass01&quot;.</li>
54+
<li>Click OK.</li>
55+
<li>You can now see a new Database created.</li>
56+
<li>Go to the above selected path and replace the HMSdb folder with the HMSdb folder provided in the Database folder in the Project Folder.</li>
57+
<li>Now go to Projects tab.</li>
58+
<li>Click on File Tab in Toolbar and select open project.</li>
59+
<li>Select the location of HotelManagementSystem Folder in the Project Folder and select OK.</li>
60+
<li>Now you can see a new Project opened in the Projects Tab.</li>
61+
<li>Now Right click on the Libraries option in the Project Folder and select &quot;Add JAR/Folder&quot;.</li>
62+
<li>Now select all the files in the Libraries Folder provided in the Project Folder.</li>
63+
<li>Now open the DBConnect.java file in package named OTHER.</li>
64+
<li>In the Java file confirm the url, user and password (line 30, 31 and 32 respectively) with the details filled when creating Database.</li>
65+
<li>Now open MailSender.java file and enter the email id and password of the gmail account you want to use to send the mails.</li>
66+
<li>Now go to this <a href="https://www.google.com/settings/security/lesssecureapps">link</a> and turn &quot;Allow less secure apps&quot; option ON (Use the same Gmail Id as above).</li>
67+
<li>Click on Build and Clean option in toolbar.</li>
68+
<li>Now you can run the project from toolbar.</li>
69+
</ol>
70+
<p>Enjoy ;-)</p>
71+
</body></html>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

build.xml renamed to Project/HotelManagementSystem/build.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<!-- the Compile on Save feature is turned off for the project. -->
88
<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->
99
<!-- in the project's Project Properties dialog box.-->
10-
<project name="CS1101_Final_Project_Hotel_Management_System" default="default" basedir=".">
11-
<description>Builds, tests, and runs the project CS1101_Final_Project_Hotel_Management_System.</description>
10+
<project name="HotelManagementSystem" default="default" basedir=".">
11+
<description>Builds, tests, and runs the project HotelManagementSystem.</description>
1212
<import file="nbproject/build-impl.xml"/>
1313
<!--
1414
@@ -58,7 +58,7 @@
5858
5959
An example of overriding the target for project execution could look like this:
6060
61-
<target name="run" depends="CS1101_Final_Project_Hotel_Management_System-impl.jar">
61+
<target name="run" depends="HotelManagementSystem-impl.jar">
6262
<exec dir="bin" executable="launcher.exe">
6363
<arg file="${dist.jar}"/>
6464
</exec>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#Sun, 31 May 2020 22:08:49 +0530
2+
3+
4+
C\:\\Users\\SPARSH\\Documents\\NetBeansProjects\\HotelManagementSystem=
File renamed without changes.

nbproject/build-impl.xml renamed to Project/HotelManagementSystem/nbproject/build-impl.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ is divided into following sections:
1919
- cleanup
2020
2121
-->
22-
<project xmlns:if="ant:if" xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" xmlns:unless="ant:unless" basedir=".." default="default" name="CS1101_Final_Project_Hotel_Management_System-impl">
22+
<project xmlns:if="ant:if" xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" xmlns:unless="ant:unless" basedir=".." default="default" name="HotelManagementSystem-impl">
2323
<fail message="Please build using Ant 1.8.0 or higher.">
2424
<condition>
2525
<not>
@@ -619,7 +619,7 @@ is divided into following sections:
619619
</fileset>
620620
</union>
621621
<taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>
622-
<testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="CS1101_Final_Project_Hotel_Management_System" testname="TestNG tests" workingDir="${work.dir}">
622+
<testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="HotelManagementSystem" testname="TestNG tests" workingDir="${work.dir}">
623623
<xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>
624624
<propertyset>
625625
<propertyref prefix="test-sys-prop."/>
@@ -716,7 +716,7 @@ is divided into following sections:
716716
<condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">
717717
<isset property="test.method"/>
718718
</condition>
719-
<condition else="-suitename CS1101_Final_Project_Hotel_Management_System -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
719+
<condition else="-suitename HotelManagementSystem -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">
720720
<matches pattern=".*\.xml" string="@{testClass}"/>
721721
</condition>
722722
<delete dir="${build.test.results.dir}" quiet="true"/>
@@ -1057,7 +1057,7 @@ is divided into following sections:
10571057
<delete file="${built-jar.properties}" quiet="true"/>
10581058
</target>
10591059
<target if="already.built.jar.${basedir}" name="-warn-already-built-jar">
1060-
<echo level="warn" message="Cycle detected: CS1101_Final_Project_Hotel_Management_System was already built"/>
1060+
<echo level="warn" message="Cycle detected: HotelManagementSystem was already built"/>
10611061
</target>
10621062
<target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">
10631063
<mkdir dir="${build.dir}"/>
@@ -1727,7 +1727,7 @@ is divided into following sections:
17271727
<delete file="${built-clean.properties}" quiet="true"/>
17281728
</target>
17291729
<target if="already.built.clean.${basedir}" name="-warn-already-built-clean">
1730-
<echo level="warn" message="Cycle detected: CS1101_Final_Project_Hotel_Management_System was already built"/>
1730+
<echo level="warn" message="Cycle detected: HotelManagementSystem was already built"/>
17311731
</target>
17321732
<target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">
17331733
<mkdir dir="${build.dir}"/>
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
build.xml.data.CRC32=22a2381c
2-
build.xml.script.CRC32=ed7b80df
1+
build.xml.data.CRC32=e803f43b
2+
build.xml.script.CRC32=b517bb75
33
build.xml.stylesheet.CRC32=[email protected]
44
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
55
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6-
nbproject/build-impl.xml.data.CRC32=22a2381c
7-
nbproject/build-impl.xml.script.CRC32=74e2f15e
6+
nbproject/build-impl.xml.data.CRC32=e803f43b
7+
nbproject/build-impl.xml.script.CRC32=14198efd
88
nbproject/build-impl.xml.stylesheet.CRC32=[email protected]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
compile.on.save=true
2+
do.jlink=false
3+
jlink.strip=false
4+
user.properties.file=C:\\Users\\SPARSH\\AppData\\Roaming\\NetBeans\\11.3\\build.properties

nbproject/project.properties renamed to Project/HotelManagementSystem/nbproject/project.properties

+21-21
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ annotation.processing.enabled.in.editor=false
33
annotation.processing.processors.list=
44
annotation.processing.run.all.processors=true
55
annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
6-
application.title=CS1101_Final_Project_Hotel_Management_System
6+
application.title=HotelManagementSystem
77
application.vendor=RG
88
build.classes.dir=${build.dir}/classes
99
build.classes.excludes=**/*.java,**/*.form
@@ -29,29 +29,29 @@ debug.test.modulepath=\
2929
dist.archive.excludes=
3030
# This directory is removed when the project is cleaned:
3131
dist.dir=dist
32-
dist.jar=${dist.dir}/CS1101_Final_Project_Hotel_Management_System.jar
32+
dist.jar=${dist.dir}/HotelManagementSystem.jar
3333
dist.javadoc.dir=${dist.dir}/javadoc
3434
dist.jlink.dir=${dist.dir}/jlink
35-
dist.jlink.output=${dist.jlink.dir}/CS1101_Final_Project_Hotel_Management_System
35+
dist.jlink.output=${dist.jlink.dir}/HotelManagementSystem
3636
endorsed.classpath=
3737
excludes=
38-
file.reference.activation-1.1.1.jar=C:\\Users\\SPARSH\\Documents\\NetBeansProjects\\Libraries\\activation-1.1.1.jar
39-
file.reference.derbyclient.jar=C:\\Users\\HP\\Documents\\Netbeans 11.3\\db-derby-10.9.1.0-lib\\lib\\derbyclient.jar
40-
file.reference.derbyclient.jar-1=C:\\Users\\HP\\Desktop\\TEMP\\OOPS project\\CS1101_Final_Project_Hotel_Management_System\\dist\\lib\\derbyclient.jar
41-
file.reference.flatlaf-0.32.jar=C:\\Users\\HP\\Desktop\\TEMP\\OOPS project\\CS1101_Final_Project_Hotel_Management_System\\dist\\lib\\flatlaf-0.32.jar
42-
file.reference.flatlaf-0.32.jar-1=C:\\Users\\HP\\Documents\\Netbeans 11.3\\flatlaf-0.32.jar
43-
file.reference.flatlaf-swingx-0.32.jar=C:\\Users\\HP\\Desktop\\TEMP\\OOPS project\\CS1101_Final_Project_Hotel_Management_System\\dist\\lib\\flatlaf-swingx-0.32.jar
44-
file.reference.flatlaf-swingx-0.32.jar-1=C:\\Users\\HP\\Documents\\Netbeans 11.3\\flatlaf-swingx-0.32.jar
45-
file.reference.javax.mail.jar=C:\\Users\\SPARSH\\Documents\\NetBeansProjects\\Libraries\\javax.mail.jar
46-
file.reference.jcalendar-1.4.jar=C:\\Users\\HP\\Desktop\\TEMP\\OOPS project\\CS1101_Final_Project_Hotel_Management_System\\dist\\lib\\jcalendar-1.4.jar
47-
file.reference.jcalendar-1.4.jar-1=C:\\Users\\HP\\Documents\\Netbeans 11.3\\lib\\jcalendar-1.4.jar
48-
file.reference.jgoodies-common-1.2.0.jar=C:\\Users\\HP\\Documents\\Netbeans 11.3\\lib\\jgoodies-common-1.2.0.jar
49-
file.reference.jgoodies-common-1.2.0.jar-1=C:\\Users\\HP\\Desktop\\TEMP\\OOPS project\\CS1101_Final_Project_Hotel_Management_System\\dist\\lib\\jgoodies-common-1.2.0.jar
50-
file.reference.jgoodies-looks-2.4.1.jar=C:\\Users\\HP\\Documents\\Netbeans 11.3\\lib\\jgoodies-looks-2.4.1.jar
51-
file.reference.jgoodies-looks-2.4.1.jar-1=C:\\Users\\HP\\Desktop\\TEMP\\OOPS project\\CS1101_Final_Project_Hotel_Management_System\\dist\\lib\\jgoodies-looks-2.4.1.jar
52-
file.reference.junit-4.6.jar=C:\\Users\\HP\\Documents\\Netbeans 11.3\\lib\\junit-4.6.jar
53-
file.reference.junit-4.6.jar-1=C:\\Users\\HP\\Desktop\\TEMP\\OOPS project\\CS1101_Final_Project_Hotel_Management_System\\dist\\lib\\junit-4.6.jar
54-
file.reference.LGoodDatePicker-10.3.1.jar=C:\\Users\\SPARSH\\Documents\\NetBeansProjects\\Libraries\\LGoodDatePicker-10.3.1.jar
38+
file.reference.activation-1.1.1.jar=../Libraries/activation-1.1.1.jar
39+
file.reference.derbyclient.jar=../../../../HP/Documents/Netbeans 11.3/db-derby-10.9.1.0-lib/lib/derbyclient.jar
40+
file.reference.derbyclient.jar-1=../../../../HP/Desktop/TEMP/OOPS project/CS1101_Final_Project_Hotel_Management_System/dist/lib/derbyclient.jar
41+
file.reference.flatlaf-0.32.jar=../../../../HP/Desktop/TEMP/OOPS project/CS1101_Final_Project_Hotel_Management_System/dist/lib/flatlaf-0.32.jar
42+
file.reference.flatlaf-0.32.jar-1=../../../../HP/Documents/Netbeans 11.3/flatlaf-0.32.jar
43+
file.reference.flatlaf-swingx-0.32.jar=../../../../HP/Desktop/TEMP/OOPS project/CS1101_Final_Project_Hotel_Management_System/dist/lib/flatlaf-swingx-0.32.jar
44+
file.reference.flatlaf-swingx-0.32.jar-1=../../../../HP/Documents/Netbeans 11.3/flatlaf-swingx-0.32.jar
45+
file.reference.javax.mail.jar=../Libraries/javax.mail.jar
46+
file.reference.jcalendar-1.4.jar=../../../../HP/Desktop/TEMP/OOPS project/CS1101_Final_Project_Hotel_Management_System/dist/lib/jcalendar-1.4.jar
47+
file.reference.jcalendar-1.4.jar-1=../../../../HP/Documents/Netbeans 11.3/lib/jcalendar-1.4.jar
48+
file.reference.jgoodies-common-1.2.0.jar=../../../../HP/Documents/Netbeans 11.3/lib/jgoodies-common-1.2.0.jar
49+
file.reference.jgoodies-common-1.2.0.jar-1=../../../../HP/Desktop/TEMP/OOPS project/CS1101_Final_Project_Hotel_Management_System/dist/lib/jgoodies-common-1.2.0.jar
50+
file.reference.jgoodies-looks-2.4.1.jar=../../../../HP/Documents/Netbeans 11.3/lib/jgoodies-looks-2.4.1.jar
51+
file.reference.jgoodies-looks-2.4.1.jar-1=../../../../HP/Desktop/TEMP/OOPS project/CS1101_Final_Project_Hotel_Management_System/dist/lib/jgoodies-looks-2.4.1.jar
52+
file.reference.junit-4.6.jar=../../../../HP/Documents/Netbeans 11.3/lib/junit-4.6.jar
53+
file.reference.junit-4.6.jar-1=../../../../HP/Desktop/TEMP/OOPS project/CS1101_Final_Project_Hotel_Management_System/dist/lib/junit-4.6.jar
54+
file.reference.LGoodDatePicker-10.3.1.jar=../Libraries/LGoodDatePicker-10.3.1.jar
5555
includes=**
5656
jar.compress=false
5757
javac.classpath=\
@@ -107,7 +107,7 @@ jlink.additionalmodules=
107107
# The jlink additional command line parameters
108108
jlink.additionalparam=
109109
jlink.launcher=true
110-
jlink.launcher.name=CS1101_Final_Project_Hotel_Management_System
110+
jlink.launcher.name=HotelManagementSystem
111111
main.class=OTHER.DBConnect
112112
manifest.file=manifest.mf
113113
meta.inf.dir=${src.dir}/META-INF

nbproject/project.xml renamed to Project/HotelManagementSystem/nbproject/project.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<type>org.netbeans.modules.java.j2seproject</type>
44
<configuration>
55
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">
6-
<name>CS1101_Final_Project_Hotel_Management_System</name>
6+
<name>HotelManagementSystem</name>
77
<source-roots>
88
<root id="src.dir"/>
99
</source-roots>

src/ADMIN/AdminSupportPage.java renamed to Project/HotelManagementSystem/src/ADMIN/AdminSupportPage.java

+2
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,8 @@ private void formWindowOpened(java.awt.event.WindowEvent evt) {//GEN-FIRST:event
298298

299299
private void formWindowClosed(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowClosed
300300
dispose();
301+
senderid.clear();
302+
sendername.clear();
301303
DBConnect.initialization();
302304
}//GEN-LAST:event_formWindowClosed
303305

src/ADMIN/Feedback.txt renamed to Project/HotelManagementSystem/src/ADMIN/Feedback.txt

+6
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,9 @@ Rating: 4 Stars
2626

2727
d
2828
------------------------------------------------
29+
30+
Username: null
31+
Rating: 4 Stars
32+
33+
I loved the Stay.
34+
------------------------------------------------

src/OTHER/MailSender.java renamed to Project/HotelManagementSystem/src/OTHER/MailSender.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ public class MailSender {
2020

2121
public static void sendMail(String recipient, String subject, String mail) {
2222
String host = "smtp.gmail.com";
23-
final String user = "[email protected]"; //Enter Mail ID
24-
final String password = "nahibataraha"; //Enter Password
23+
final String user = ""; //Enter Mail ID
24+
final String password = ""; //Enter Password
2525

2626
String to = recipient; //Enter Recipient email ID
2727

0 commit comments

Comments
 (0)