diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build.xml b/Java/Other Programs/Learning Management System (Mini-Version)/build.xml
new file mode 100644
index 0000000..169365b
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build.xml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+ Builds, tests, and runs the project Assignment#1.
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/.netbeans_automatic_build b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/.netbeans_automatic_build
new file mode 100644
index 0000000..e69de29
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/.netbeans_update_resources b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/.netbeans_update_resources
new file mode 100644
index 0000000..e69de29
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ACQ.form b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ACQ.form
new file mode 100644
index 0000000..a13c85d
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ACQ.form
@@ -0,0 +1,302 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ACQ.rs b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ACQ.rs
new file mode 100644
index 0000000..f81df82
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ACQ.rs
@@ -0,0 +1,5 @@
+LMS.ACQ$4
+LMS.ACQ$3
+LMS.ACQ$2
+LMS.ACQ$1
+LMS.ACQ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ACQS.rs b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ACQS.rs
new file mode 100644
index 0000000..e5f923b
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ACQS.rs
@@ -0,0 +1,2 @@
+LMS.ACQS
+LMS.CATQ_dao
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/AD.form b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/AD.form
new file mode 100644
index 0000000..4e56247
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/AD.form
@@ -0,0 +1,201 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/AD.rs b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/AD.rs
new file mode 100644
index 0000000..73475db
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/AD.rs
@@ -0,0 +1,4 @@
+LMS.AD$3
+LMS.AD
+LMS.AD$1
+LMS.AD$2
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ADCAT.form b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ADCAT.form
new file mode 100644
index 0000000..d5bb45e
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ADCAT.form
@@ -0,0 +1,203 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ADCAT.rs b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ADCAT.rs
new file mode 100644
index 0000000..5e1b77b
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ADCAT.rs
@@ -0,0 +1,7 @@
+LMS.ADCAT
+LMS.ADCAT$6
+LMS.ADCAT$5
+LMS.ADCAT$4
+LMS.ADCAT$3
+LMS.ADCAT$2
+LMS.ADCAT$1
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ADST.form b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ADST.form
new file mode 100644
index 0000000..1a7c4ed
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ADST.form
@@ -0,0 +1,217 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ADST.rs b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ADST.rs
new file mode 100644
index 0000000..3d024db
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ADST.rs
@@ -0,0 +1,6 @@
+LMS.ADST$5
+LMS.ADST
+LMS.ADST$4
+LMS.ADST$3
+LMS.ADST$2
+LMS.ADST$1
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/AL.form b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/AL.form
new file mode 100644
index 0000000..6264dd5
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/AL.form
@@ -0,0 +1,174 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/AL.rs b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/AL.rs
new file mode 100644
index 0000000..c1c4674
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/AL.rs
@@ -0,0 +1,5 @@
+LMS.AL$3
+LMS.AL
+LMS.AL$4
+LMS.AL$1
+LMS.AL$2
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/AM.form b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/AM.form
new file mode 100644
index 0000000..438aaa9
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/AM.form
@@ -0,0 +1,182 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/AM.rs b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/AM.rs
new file mode 100644
index 0000000..9a736bb
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/AM.rs
@@ -0,0 +1,7 @@
+LMS.AM$2
+LMS.AM$3
+LMS.AM$1
+LMS.AM$6
+LMS.AM$4
+LMS.AM$5
+LMS.AM
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ASTUD.rs b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ASTUD.rs
new file mode 100644
index 0000000..b1b7acc
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/ASTUD.rs
@@ -0,0 +1,2 @@
+LMS.ADSTU_DAO
+LMS.ASTUD
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/CQ.form b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/CQ.form
new file mode 100644
index 0000000..1e4cb46
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/CQ.form
@@ -0,0 +1,387 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/CQ.rs b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/CQ.rs
new file mode 100644
index 0000000..7d5aa83
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/CQ.rs
@@ -0,0 +1,9 @@
+LMS.CQ$1
+LMS.CQ$5
+LMS.CQ$4
+LMS.CQ
+LMS.CQ$3
+LMS.CQ$2
+LMS.CQ$8
+LMS.CQ$7
+LMS.CQ$6
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/STL.form b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/STL.form
new file mode 100644
index 0000000..8f81aa5
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/STL.form
@@ -0,0 +1,208 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/STL.rs b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/STL.rs
new file mode 100644
index 0000000..2b7da22
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/STL.rs
@@ -0,0 +1,5 @@
+LMS.STL$1
+LMS.STL$2
+LMS.STL$3
+LMS.STL$4
+LMS.STL
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/STM.form b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/STM.form
new file mode 100644
index 0000000..992d30b
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/STM.form
@@ -0,0 +1,198 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/STM.rs b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/STM.rs
new file mode 100644
index 0000000..0850973
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/STM.rs
@@ -0,0 +1,7 @@
+LMS.STM$1
+LMS.STM$2
+LMS.STM
+LMS.STM$3
+LMS.STM$4
+LMS.STM$5
+LMS.STM$6
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/STR.form b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/STR.form
new file mode 100644
index 0000000..e532c0e
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/STR.form
@@ -0,0 +1,222 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/STR.rs b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/STR.rs
new file mode 100644
index 0000000..e67e175
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/STR.rs
@@ -0,0 +1,6 @@
+LMS.STR
+LMS.STR$1
+LMS.STR$2
+LMS.STR$3
+LMS.STR$4
+LMS.STR$5
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/main.form b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/main.form
new file mode 100644
index 0000000..f750187
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/main.form
@@ -0,0 +1,147 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/main.rs b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/main.rs
new file mode 100644
index 0000000..b71c248
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS-Mini/main.rs
@@ -0,0 +1,5 @@
+LMS.main
+LMS.main$2
+LMS.main$1
+LMS.main$4
+LMS.main$3
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ACQ$1.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ACQ$1.class
new file mode 100644
index 0000000..d4b0098
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ACQ$1.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ACQ$2.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ACQ$2.class
new file mode 100644
index 0000000..92696d7
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ACQ$2.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ACQ$3.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ACQ$3.class
new file mode 100644
index 0000000..be49aab
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ACQ$3.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ACQ$4.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ACQ$4.class
new file mode 100644
index 0000000..e744222
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ACQ$4.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ACQ.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ACQ.class
new file mode 100644
index 0000000..93cad60
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ACQ.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ACQS.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ACQS.class
new file mode 100644
index 0000000..e0518ec
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ACQS.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AD$1.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AD$1.class
new file mode 100644
index 0000000..8777659
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AD$1.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AD$2.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AD$2.class
new file mode 100644
index 0000000..4d5427e
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AD$2.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AD$3.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AD$3.class
new file mode 100644
index 0000000..1465d6b
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AD$3.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AD.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AD.class
new file mode 100644
index 0000000..6cbab03
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AD.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT$1.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT$1.class
new file mode 100644
index 0000000..c5c8bb2
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT$1.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT$2.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT$2.class
new file mode 100644
index 0000000..dbc154a
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT$2.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT$3.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT$3.class
new file mode 100644
index 0000000..b09069a
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT$3.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT$4.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT$4.class
new file mode 100644
index 0000000..2ae2779
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT$4.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT$5.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT$5.class
new file mode 100644
index 0000000..6d80652
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT$5.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT$6.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT$6.class
new file mode 100644
index 0000000..891aafc
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT$6.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT.class
new file mode 100644
index 0000000..e2c4385
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADCAT.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADST$1.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADST$1.class
new file mode 100644
index 0000000..4bd5543
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADST$1.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADST$2.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADST$2.class
new file mode 100644
index 0000000..8303150
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADST$2.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADST$3.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADST$3.class
new file mode 100644
index 0000000..a94ffc8
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADST$3.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADST$4.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADST$4.class
new file mode 100644
index 0000000..407277d
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADST$4.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADST$5.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADST$5.class
new file mode 100644
index 0000000..ad4e38a
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADST$5.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADST.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADST.class
new file mode 100644
index 0000000..37a7670
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADST.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADSTU_DAO.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADSTU_DAO.class
new file mode 100644
index 0000000..6b4999f
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ADSTU_DAO.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AL$1.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AL$1.class
new file mode 100644
index 0000000..31b8902
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AL$1.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AL$2.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AL$2.class
new file mode 100644
index 0000000..5e7eaa2
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AL$2.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AL$3.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AL$3.class
new file mode 100644
index 0000000..aa1563e
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AL$3.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AL$4.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AL$4.class
new file mode 100644
index 0000000..582f344
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AL$4.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AL.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AL.class
new file mode 100644
index 0000000..9296842
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AL.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM$1.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM$1.class
new file mode 100644
index 0000000..a9af6dd
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM$1.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM$2.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM$2.class
new file mode 100644
index 0000000..9bf3082
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM$2.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM$3.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM$3.class
new file mode 100644
index 0000000..6c3bf47
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM$3.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM$4.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM$4.class
new file mode 100644
index 0000000..f4e4022
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM$4.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM$5.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM$5.class
new file mode 100644
index 0000000..cae0046
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM$5.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM$6.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM$6.class
new file mode 100644
index 0000000..129d557
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM$6.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM.class
new file mode 100644
index 0000000..cc67d29
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/AM.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ASTUD.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ASTUD.class
new file mode 100644
index 0000000..e7ca88e
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/ASTUD.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CATQ_dao.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CATQ_dao.class
new file mode 100644
index 0000000..3021755
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CATQ_dao.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$1.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$1.class
new file mode 100644
index 0000000..4797d1e
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$1.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$2.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$2.class
new file mode 100644
index 0000000..8fce69d
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$2.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$3.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$3.class
new file mode 100644
index 0000000..d95b439
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$3.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$4.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$4.class
new file mode 100644
index 0000000..561c0e6
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$4.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$5.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$5.class
new file mode 100644
index 0000000..0e2ae27
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$5.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$6.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$6.class
new file mode 100644
index 0000000..b06d3c8
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$6.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$7.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$7.class
new file mode 100644
index 0000000..9b9b8ab
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$7.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$8.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$8.class
new file mode 100644
index 0000000..d49c652
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ$8.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ.class
new file mode 100644
index 0000000..b9afdd5
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/CQ.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STL$1.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STL$1.class
new file mode 100644
index 0000000..ebbaa51
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STL$1.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STL$2.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STL$2.class
new file mode 100644
index 0000000..490ba18
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STL$2.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STL$3.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STL$3.class
new file mode 100644
index 0000000..eb4fc07
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STL$3.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STL$4.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STL$4.class
new file mode 100644
index 0000000..68cd00f
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STL$4.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STL.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STL.class
new file mode 100644
index 0000000..5f09c98
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STL.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM$1.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM$1.class
new file mode 100644
index 0000000..44f854f
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM$1.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM$2.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM$2.class
new file mode 100644
index 0000000..bb81b27
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM$2.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM$3.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM$3.class
new file mode 100644
index 0000000..e6b31f8
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM$3.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM$4.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM$4.class
new file mode 100644
index 0000000..bdf17ce
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM$4.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM$5.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM$5.class
new file mode 100644
index 0000000..40a8723
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM$5.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM$6.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM$6.class
new file mode 100644
index 0000000..b7c80a1
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM$6.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM.class
new file mode 100644
index 0000000..eef2950
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STM.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STR$1.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STR$1.class
new file mode 100644
index 0000000..c2dbe80
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STR$1.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STR$2.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STR$2.class
new file mode 100644
index 0000000..d71a53c
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STR$2.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STR$3.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STR$3.class
new file mode 100644
index 0000000..4e79a23
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STR$3.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STR$4.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STR$4.class
new file mode 100644
index 0000000..732f4a8
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STR$4.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STR$5.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STR$5.class
new file mode 100644
index 0000000..8ee63eb
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STR$5.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STR.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STR.class
new file mode 100644
index 0000000..0a3822c
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/STR.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/main$1.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/main$1.class
new file mode 100644
index 0000000..1b87796
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/main$1.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/main$2.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/main$2.class
new file mode 100644
index 0000000..14253ea
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/main$2.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/main$3.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/main$3.class
new file mode 100644
index 0000000..8ec74a7
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/main$3.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/main$4.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/main$4.class
new file mode 100644
index 0000000..44bdb00
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/main$4.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/main.class b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/main.class
new file mode 100644
index 0000000..e9c237a
Binary files /dev/null and b/Java/Other Programs/Learning Management System (Mini-Version)/build/classes/LMS/main.class differ
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/lms.sql b/Java/Other Programs/Learning Management System (Mini-Version)/lms.sql
new file mode 100644
index 0000000..798d2fd
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/lms.sql
@@ -0,0 +1,206 @@
+-- phpMyAdmin SQL Dump
+-- version 5.0.4
+-- https://www.phpmyadmin.net/
+--
+-- Host: 127.0.0.1
+-- Generation Time: May 17, 2021 at 07:50 AM
+-- Server version: 10.4.16-MariaDB
+-- PHP Version: 7.4.12
+
+SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
+START TRANSACTION;
+SET time_zone = "+00:00";
+
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8mb4 */;
+
+--
+-- Database: `lms`
+--
+
+-- --------------------------------------------------------
+
+--
+-- Table structure for table `admin`
+--
+
+CREATE TABLE `admin` (
+ `id` int(11) NOT NULL,
+ `username` varchar(200) NOT NULL,
+ `password` varchar(255) NOT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
+
+--
+-- Dumping data for table `admin`
+--
+
+INSERT INTO `admin` (`id`, `username`, `password`) VALUES
+(1, 'admin', '123456');
+
+-- --------------------------------------------------------
+
+--
+-- Table structure for table `category`
+--
+
+CREATE TABLE `category` (
+ `id` int(10) NOT NULL,
+ `question` varchar(255) NOT NULL,
+ `answer` varchar(255) NOT NULL,
+ `a` varchar(200) NOT NULL,
+ `b` varchar(255) NOT NULL,
+ `c` varchar(255) NOT NULL,
+ `d` varchar(255) NOT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
+
+--
+-- Dumping data for table `category`
+--
+
+INSERT INTO `category` (`id`, `question`, `answer`, `a`, `b`, `c`, `d`) VALUES
+(1, 'AOOP stands for?', 'C', 'Advance Operating ', 'Aloo Operating', 'Advance OOP', 'None'),
+(2, 'DAO stands for?', 'A', 'Digital Aloo', 'None', 'No idea', 'Both b & c'),
+(3, 'Do you like AOOP?', 'D', 'Yes', 'No', 'Tobah Tobah', 'Allah Reham'),
+(4, 'JAVA is a?', 'B', 'Vegetable', 'Fruit', 'Programming Language', 'None'),
+(5, 'Are you a good boy?', 'D', 'No', 'Yes', 'Allah knows best', 'Skip'),
+(6, 'Do you like moustache?', 'C', 'Little', 'Nope', 'Yes', 'I don\'t care');
+
+-- --------------------------------------------------------
+
+--
+-- Table structure for table `result`
+--
+
+CREATE TABLE `result` (
+ `id` int(11) NOT NULL,
+ `name` varchar(200) NOT NULL,
+ `total_marks` int(5) NOT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
+
+--
+-- Dumping data for table `result`
+--
+
+INSERT INTO `result` (`id`, `name`, `total_marks`) VALUES
+(13, 'Abdullah', 3);
+
+-- --------------------------------------------------------
+
+--
+-- Table structure for table `review`
+--
+
+CREATE TABLE `review` (
+ `name` varchar(200) NOT NULL,
+ `question` int(255) DEFAULT NULL,
+ `answer` varchar(255) DEFAULT NULL,
+ `mark` varchar(200) DEFAULT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
+
+--
+-- Dumping data for table `review`
+--
+
+INSERT INTO `review` (`name`, `question`, `answer`, `mark`) VALUES
+('tayyab', 1, 'A', '0'),
+('tayyab', 2, 'B', '5'),
+('tayyab', 3, 'D', '0'),
+('hadi', 1, 'B', '1'),
+('hadi', 2, 'A', '0'),
+('hadi', 3, 'D', '0'),
+('faik', 1, 'B', '1'),
+('faik', 2, 'C', '0'),
+('faik', 3, 'C', '1'),
+('Hadi', 2, 'A', '0'),
+('Hadi', 2, 'C', '0'),
+('Hadi', 3, 'A', '0'),
+('hadi', 1, 'A', '0'),
+('droopy', 1, 'D', '1'),
+('droopy', 2, 'D', '1'),
+('droopy', 3, 'D', '1'),
+('KALA', 1, 'D', '0'),
+('KALA', 1, 'D', '1'),
+('KALA', 2, 'D', '1'),
+('KALA', 3, 'D', '1'),
+('Abdullah', 1, 'C', '1'),
+('Abdullah', 2, 'A', '1'),
+('Abdullah', 3, 'D', '1');
+
+-- --------------------------------------------------------
+
+--
+-- Table structure for table `student`
+--
+
+CREATE TABLE `student` (
+ `id` int(11) NOT NULL,
+ `name` varchar(200) NOT NULL,
+ `department` varchar(255) NOT NULL,
+ `username` varchar(255) NOT NULL,
+ `password` varchar(200) NOT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
+
+--
+-- Dumping data for table `student`
+--
+
+INSERT INTO `student` (`id`, `name`, `department`, `username`, `password`) VALUES
+(10, 'Abdullah', 'Computer Science', 'ABD', 'spartacus');
+
+--
+-- Indexes for dumped tables
+--
+
+--
+-- Indexes for table `admin`
+--
+ALTER TABLE `admin`
+ ADD PRIMARY KEY (`id`);
+
+--
+-- Indexes for table `category`
+--
+ALTER TABLE `category`
+ ADD PRIMARY KEY (`id`);
+
+--
+-- Indexes for table `result`
+--
+ALTER TABLE `result`
+ ADD PRIMARY KEY (`id`);
+
+--
+-- Indexes for table `student`
+--
+ALTER TABLE `student`
+ ADD PRIMARY KEY (`id`);
+
+--
+-- AUTO_INCREMENT for dumped tables
+--
+
+--
+-- AUTO_INCREMENT for table `admin`
+--
+ALTER TABLE `admin`
+ MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
+
+--
+-- AUTO_INCREMENT for table `result`
+--
+ALTER TABLE `result`
+ MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
+
+--
+-- AUTO_INCREMENT for table `student`
+--
+ALTER TABLE `student`
+ MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
+COMMIT;
+
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/manifest.mf b/Java/Other Programs/Learning Management System (Mini-Version)/manifest.mf
new file mode 100644
index 0000000..328e8e5
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/manifest.mf
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+X-COMMENT: Main-Class will be added automatically by build
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/build-impl.xml b/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/build-impl.xml
new file mode 100644
index 0000000..9ca26c1
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/build-impl.xml
@@ -0,0 +1,1420 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Must set src.dir
+ Must set test.src.dir
+ Must set build.dir
+ Must set dist.dir
+ Must set build.classes.dir
+ Must set dist.javadoc.dir
+ Must set build.test.classes.dir
+ Must set build.test.results.dir
+ Must set build.classes.excludes
+ Must set dist.jar
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Must set javac.includes
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ No tests executed.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Must set JVM to use for profiling in profiler.info.jvm
+ Must set profiler agent JVM arguments in profiler.info.jvmargs.agent
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Must select some files in the IDE or set javac.includes
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ To run this application from the command line without Ant, try:
+
+ java -jar "${dist.jar.resolved}"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Must select one file in the IDE or set run.class
+
+
+
+ Must select one file in the IDE or set run.class
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Must select one file in the IDE or set debug.class
+
+
+
+
+ Must select one file in the IDE or set debug.class
+
+
+
+
+ Must set fix.includes
+
+
+
+
+
+
+
+
+
+ This target only works when run from inside the NetBeans IDE.
+
+
+
+
+
+
+
+
+ Must select one file in the IDE or set profile.class
+ This target only works when run from inside the NetBeans IDE.
+
+
+
+
+
+
+
+
+ This target only works when run from inside the NetBeans IDE.
+
+
+
+
+
+
+
+
+
+
+
+
+ This target only works when run from inside the NetBeans IDE.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Must select one file in the IDE or set run.class
+
+
+
+
+
+ Must select some files in the IDE or set test.includes
+
+
+
+
+ Must select one file in the IDE or set run.class
+
+
+
+
+ Must select one file in the IDE or set applet.url
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Must select some files in the IDE or set javac.includes
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Some tests failed; see details above.
+
+
+
+
+
+
+
+
+ Must select some files in the IDE or set test.includes
+
+
+
+ Some tests failed; see details above.
+
+
+
+ Must select some files in the IDE or set test.class
+ Must select some method in the IDE or set test.method
+
+
+
+ Some tests failed; see details above.
+
+
+
+
+ Must select one file in the IDE or set test.class
+
+
+
+ Must select one file in the IDE or set test.class
+ Must select some method in the IDE or set test.method
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Must select one file in the IDE or set applet.url
+
+
+
+
+
+
+
+
+ Must select one file in the IDE or set applet.url
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/genfiles.properties b/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/genfiles.properties
new file mode 100644
index 0000000..0d47f42
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/genfiles.properties
@@ -0,0 +1,8 @@
+build.xml.data.CRC32=27c4a5e9
+build.xml.script.CRC32=eef6ae20
+build.xml.stylesheet.CRC32=8064a381@1.80.1.48
+# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
+# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
+nbproject/build-impl.xml.data.CRC32=27c4a5e9
+nbproject/build-impl.xml.script.CRC32=caedc3cb
+nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/private/config.properties b/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/private/config.properties
new file mode 100644
index 0000000..e69de29
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/private/private.properties b/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/private/private.properties
new file mode 100644
index 0000000..5ac746b
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/private/private.properties
@@ -0,0 +1,6 @@
+compile.on.save=true
+do.depend=false
+do.jar=true
+javac.debug=true
+javadoc.preview=true
+user.properties.file=C:\\Users\\hadib\\AppData\\Roaming\\NetBeans\\8.2\\build.properties
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/private/private.xml b/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/private/private.xml
new file mode 100644
index 0000000..6807a2b
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/private/private.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/project.properties b/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/project.properties
new file mode 100644
index 0000000..72f6eff
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/project.properties
@@ -0,0 +1,82 @@
+annotation.processing.enabled=true
+annotation.processing.enabled.in.editor=false
+annotation.processing.processors.list=
+annotation.processing.run.all.processors=true
+annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
+application.title=Assignment#1
+application.vendor=mt678
+build.classes.dir=${build.dir}/classes
+build.classes.excludes=**/*.java,**/*.form
+# This directory is removed when the project is cleaned:
+build.dir=build
+build.generated.dir=${build.dir}/generated
+build.generated.sources.dir=${build.dir}/generated-sources
+# Only compile against the classpath explicitly listed here:
+build.sysclasspath=ignore
+build.test.classes.dir=${build.dir}/test/classes
+build.test.results.dir=${build.dir}/test/results
+# Uncomment to specify the preferred debugger connection transport:
+#debug.transport=dt_socket
+debug.classpath=\
+ ${run.classpath}
+debug.test.classpath=\
+ ${run.test.classpath}
+# Files in build.classes.dir which should be excluded from distribution jar
+dist.archive.excludes=
+# This directory is removed when the project is cleaned:
+dist.dir=dist
+dist.jar=${dist.dir}/Assignment_1.jar
+dist.javadoc.dir=${dist.dir}/javadoc
+endorsed.classpath=
+excludes=
+file.reference.rs2xml.jar=E:\\aoop\\Jar File\\rs2xml.jar
+file.reference.rs2xml.jar-1=C:\\Users\\hadib\\Downloads\\rs2xml\\rs2xml.jar
+includes=**
+jar.compress=false
+javac.classpath=\
+ ${file.reference.rs2xml.jar}:\
+ ${libs.MySQLDriver.classpath}:\
+ ${libs.PostgreSQLDriver.classpath}:\
+ ${file.reference.rs2xml.jar-1}
+# Space-separated list of extra javac options
+javac.compilerargs=
+javac.deprecation=false
+javac.external.vm=true
+javac.processorpath=\
+ ${javac.classpath}
+javac.source=1.8
+javac.target=1.8
+javac.test.classpath=\
+ ${javac.classpath}:\
+ ${build.classes.dir}
+javac.test.processorpath=\
+ ${javac.test.classpath}
+javadoc.additionalparam=
+javadoc.author=false
+javadoc.encoding=${source.encoding}
+javadoc.noindex=false
+javadoc.nonavbar=false
+javadoc.notree=false
+javadoc.private=false
+javadoc.splitindex=true
+javadoc.use=true
+javadoc.version=false
+javadoc.windowtitle=
+main.class=LMS.main
+manifest.file=manifest.mf
+meta.inf.dir=${src.dir}/META-INF
+mkdist.disabled=false
+platform.active=default_platform
+run.classpath=\
+ ${javac.classpath}:\
+ ${build.classes.dir}
+# Space-separated list of JVM arguments used when running the project.
+# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.
+# To set system properties for unit tests define test-sys-prop.name=value:
+run.jvmargs=
+run.test.classpath=\
+ ${javac.test.classpath}:\
+ ${build.test.classes.dir}
+source.encoding=UTF-8
+src.dir=src
+test.src.dir=test
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/project.xml b/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/project.xml
new file mode 100644
index 0000000..7fbbdd9
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/nbproject/project.xml
@@ -0,0 +1,15 @@
+
+
+ org.netbeans.modules.java.j2seproject
+
+
+ Assignment#1
+
+
+
+
+
+
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ACQ.form b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ACQ.form
new file mode 100644
index 0000000..a13c85d
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ACQ.form
@@ -0,0 +1,302 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ACQ.java b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ACQ.java
new file mode 100644
index 0000000..d728eba
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ACQ.java
@@ -0,0 +1,327 @@
+
+package LMS;
+import java.sql.*;
+import javax.swing.JOptionPane;
+
+public class ACQ extends javax.swing.JFrame {
+
+ Connection con;
+ PreparedStatement pst;
+ ResultSet rs;
+ public ACQ() {
+ initComponents();
+ }
+
+ @SuppressWarnings("unchecked")
+ // //GEN-BEGIN:initComponents
+ private void initComponents() {
+
+ jPanel1 = new javax.swing.JPanel();
+ jLabel1 = new javax.swing.JLabel();
+ jPanel2 = new javax.swing.JPanel();
+ jLabel2 = new javax.swing.JLabel();
+ jTextField1 = new javax.swing.JTextField();
+ jLabel3 = new javax.swing.JLabel();
+ jTextField2 = new javax.swing.JTextField();
+ jLabel4 = new javax.swing.JLabel();
+ jTextField3 = new javax.swing.JTextField();
+ jLabel5 = new javax.swing.JLabel();
+ jLabel6 = new javax.swing.JLabel();
+ jLabel7 = new javax.swing.JLabel();
+ jLabel8 = new javax.swing.JLabel();
+ jTextField4 = new javax.swing.JTextField();
+ jTextField5 = new javax.swing.JTextField();
+ jTextField6 = new javax.swing.JTextField();
+ jTextField7 = new javax.swing.JTextField();
+ jButton1 = new javax.swing.JButton();
+ jButton2 = new javax.swing.JButton();
+ jButton3 = new javax.swing.JButton();
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
+
+ jPanel1.setBackground(new java.awt.Color(0, 153, 153));
+
+ jLabel1.setFont(new java.awt.Font("Times New Roman", 1, 24)); // NOI18N
+ jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
+ jLabel1.setText("Insert Question");
+
+ javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
+ jPanel1.setLayout(jPanel1Layout);
+ jPanel1Layout.setHorizontalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addGap(79, 79, 79)
+ .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 307, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ );
+ jPanel1Layout.setVerticalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
+ .addContainerGap()
+ .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 38, Short.MAX_VALUE)
+ .addContainerGap())
+ );
+
+ jPanel2.setBackground(new java.awt.Color(204, 204, 204));
+
+ jLabel2.setFont(new java.awt.Font("Times New Roman", 0, 12)); // NOI18N
+ jLabel2.setText("QUESTION NO:");
+
+ jLabel3.setFont(new java.awt.Font("Times New Roman", 0, 12)); // NOI18N
+ jLabel3.setText("OPTION B:");
+
+ jLabel4.setFont(new java.awt.Font("Times New Roman", 0, 12)); // NOI18N
+ jLabel4.setText("QUESTION : ");
+
+ jLabel5.setFont(new java.awt.Font("Times New Roman", 0, 12)); // NOI18N
+ jLabel5.setText("ANSWER :");
+
+ jLabel6.setFont(new java.awt.Font("Times New Roman", 0, 12)); // NOI18N
+ jLabel6.setText("OPTION A:");
+
+ jLabel7.setFont(new java.awt.Font("Times New Roman", 0, 12)); // NOI18N
+ jLabel7.setText("OPTION D:");
+
+ jLabel8.setFont(new java.awt.Font("Times New Roman", 0, 12)); // NOI18N
+ jLabel8.setText("OPTION C:");
+
+ jButton1.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
+ jButton1.setText("BACK");
+ jButton1.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton1ActionPerformed(evt);
+ }
+ });
+
+ jButton2.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
+ jButton2.setText("ADD");
+ jButton2.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton2ActionPerformed(evt);
+ }
+ });
+
+ jButton3.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
+ jButton3.setText("DELETE");
+ jButton3.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton3ActionPerformed(evt);
+ }
+ });
+
+ javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
+ jPanel2.setLayout(jPanel2Layout);
+ jPanel2Layout.setHorizontalGroup(
+ jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGap(35, 35, 35)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(33, 33, 33)
+ .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(33, 33, 33)
+ .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 83, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGap(97, 97, 97)
+ .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, 281, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
+ .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 104, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGap(6, 6, 6)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
+ .addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, 210, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, 210, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, 210, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jTextField7, javax.swing.GroupLayout.PREFERRED_SIZE, 210, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jTextField6, javax.swing.GroupLayout.PREFERRED_SIZE, 210, javax.swing.GroupLayout.PREFERRED_SIZE)))))
+ .addContainerGap(75, Short.MAX_VALUE))
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGap(45, 45, 45)
+ .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(356, Short.MAX_VALUE)))
+ );
+ jPanel2Layout.setVerticalGroup(
+ jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addContainerGap()
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
+ .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, 89, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(13, 13, 13)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGap(18, 18, 18)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jTextField6, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jLabel3, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jTextField4, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGap(18, 18, 18)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jTextField5, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jTextField7, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 28, Short.MAX_VALUE)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGap(22, 22, 22))
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGap(86, 86, 86)
+ .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(309, Short.MAX_VALUE)))
+ );
+
+ javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
+ getContentPane().setLayout(layout);
+ layout.setHorizontalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ );
+ layout.setVerticalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(layout.createSequentialGroup()
+ .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addContainerGap())
+ );
+
+ pack();
+ }// //GEN-END:initComponents
+
+ private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
+try{
+ ACQS cls=new ACQS();
+ cls.id=Integer.parseInt(jTextField1.getText());
+ cls.question=jTextField2.getText();
+ cls.answer=jTextField3.getText();
+ cls.b=jTextField4.getText();
+ cls.c=jTextField5.getText();
+ cls.a=jTextField6.getText();
+ cls.d=jTextField7.getText();
+ CATQ_dao cds=new CATQ_dao();
+ cds.insert(cls);
+
+ jTextField1.setText("");
+ jTextField2.setText("");
+ jTextField3.setText("");
+ jTextField4.setText("");
+ jTextField5.setText("");
+ jTextField6.setText("");
+ jTextField7.setText("");
+ JOptionPane.showMessageDialog(this,"QUESTION ADDED SUCCESSFULLY!");
+
+
+}catch(Exception ex){
+ System.out.print(ex);
+}
+
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton2ActionPerformed
+
+ private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
+
+
+ try{
+ ACQS c=new ACQS();
+c.id=Integer.parseInt(jTextField1.getText());
+CATQ_dao d=new CATQ_dao();
+d.delete(c);
+
+ jTextField1.setText("");
+ JOptionPane.showMessageDialog(this,"QUESTION DELETED SUCCESSFULLY! ");
+
+}catch(Exception ex){System.out.println(ex);}
+// TODO add your handling code here:
+ }//GEN-LAST:event_jButton3ActionPerformed
+
+ private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
+ADCAT act=new ADCAT();
+this.dispose();
+act.setVisible(true);
+
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton1ActionPerformed
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String args[]) {
+ /* Set the Nimbus look and feel */
+ //
+ /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
+ * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
+ */
+ try {
+ for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
+ if ("Nimbus".equals(info.getName())) {
+ javax.swing.UIManager.setLookAndFeel(info.getClassName());
+ break;
+ }
+ }
+ } catch (ClassNotFoundException ex) {
+ java.util.logging.Logger.getLogger(ACQ.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (InstantiationException ex) {
+ java.util.logging.Logger.getLogger(ACQ.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (IllegalAccessException ex) {
+ java.util.logging.Logger.getLogger(ACQ.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (javax.swing.UnsupportedLookAndFeelException ex) {
+ java.util.logging.Logger.getLogger(ACQ.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ }
+ //
+
+ /* Create and display the form */
+ java.awt.EventQueue.invokeLater(new Runnable() {
+ public void run() {
+ new ACQ().setVisible(true);
+ }
+ });
+ }
+
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JButton jButton1;
+ private javax.swing.JButton jButton2;
+ private javax.swing.JButton jButton3;
+ private javax.swing.JLabel jLabel1;
+ private javax.swing.JLabel jLabel2;
+ private javax.swing.JLabel jLabel3;
+ private javax.swing.JLabel jLabel4;
+ private javax.swing.JLabel jLabel5;
+ private javax.swing.JLabel jLabel6;
+ private javax.swing.JLabel jLabel7;
+ private javax.swing.JLabel jLabel8;
+ private javax.swing.JPanel jPanel1;
+ private javax.swing.JPanel jPanel2;
+ private javax.swing.JTextField jTextField1;
+ private javax.swing.JTextField jTextField2;
+ private javax.swing.JTextField jTextField3;
+ private javax.swing.JTextField jTextField4;
+ private javax.swing.JTextField jTextField5;
+ private javax.swing.JTextField jTextField6;
+ private javax.swing.JTextField jTextField7;
+ // End of variables declaration//GEN-END:variables
+}
\ No newline at end of file
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ACQS.java b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ACQS.java
new file mode 100644
index 0000000..0098f2b
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ACQS.java
@@ -0,0 +1,60 @@
+
+package LMS;
+import java.sql.*;
+
+public class ACQS {
+ int id;
+ String question,answer,a,b,c,d;
+}
+class CATQ_dao{
+Connection con;
+PreparedStatement pst;
+void connection(){
+ try {
+ Class.forName("com.mysql.jdbc.Driver");
+
+ String URL="jdbc:mysql://localhost:3306/lms";
+
+ con = DriverManager.getConnection(URL,"root","");
+
+ } catch (ClassNotFoundException | SQLException ex) {
+ }
+}
+ int insert(ACQS a){
+ connection();
+ int rs=0;
+ try{
+ pst=con.prepareStatement("INSERT INTO `category`(`id`, `question`, `answer`, `a`, `b`, `c`, `d`) VALUES (?,?,?,?,?,?,?)");
+ pst.setInt(1, a.id);
+ pst.setString(2, a.question);
+ pst.setString(3, a.answer);
+ pst.setString(4, a.a);
+ pst.setString(5, a.b);
+ pst.setString(6, a.c);
+ pst.setString(7, a.d);
+ rs=pst.executeUpdate();
+ }catch(SQLException ex){System.out.println(ex);}
+ return rs;
+ }
+int delete(ACQS a){
+connection();
+int rs=0;
+try{
+pst=con.prepareStatement("DELETE FROM category WHERE id="+a.id);
+ pst.executeUpdate();
+}catch(SQLException ex){}
+return 0;
+}
+ResultSet select(int a){
+ connection();
+ ResultSet rs=null;
+ try{
+ pst=con.prepareStatement("SELECT `id`, `question`, `answer`, `a`, `b`, `c`, `d` FROM `category` WHERE id="+a);
+ rs=pst.executeQuery();
+
+}catch(SQLException ex){}
+
+ return rs;
+
+}
+}
\ No newline at end of file
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/AD.form b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/AD.form
new file mode 100644
index 0000000..4e56247
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/AD.form
@@ -0,0 +1,201 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/AD.java b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/AD.java
new file mode 100644
index 0000000..9d5b453
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/AD.java
@@ -0,0 +1,213 @@
+
+package LMS;
+import java.sql.*;
+
+public class AD extends javax.swing.JFrame {
+
+ Connection con;
+ PreparedStatement pst;
+ ResultSet rs;
+ public AD() {
+ initComponents();
+ }
+
+ @SuppressWarnings("unchecked")
+ // //GEN-BEGIN:initComponents
+ private void initComponents() {
+
+ jPanel1 = new javax.swing.JPanel();
+ jLabel1 = new javax.swing.JLabel();
+ jLabel2 = new javax.swing.JLabel();
+ lname = new javax.swing.JLabel();
+ lpass = new javax.swing.JLabel();
+ jButton1 = new javax.swing.JButton();
+ jPanel2 = new javax.swing.JPanel();
+ jLabel3 = new javax.swing.JLabel();
+ jButton2 = new javax.swing.JButton();
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
+
+ jLabel1.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
+ jLabel1.setText("PASSWORD :");
+
+ jLabel2.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
+ jLabel2.setText("USER NAME :");
+
+ lname.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N
+ lname.setForeground(new java.awt.Color(0, 153, 153));
+
+ lpass.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N
+ lpass.setForeground(new java.awt.Color(0, 153, 153));
+
+ jButton1.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
+ jButton1.setText("SHOW");
+ jButton1.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton1ActionPerformed(evt);
+ }
+ });
+
+ jPanel2.setBackground(new java.awt.Color(0, 153, 153));
+
+ jLabel3.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
+ jLabel3.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
+ jLabel3.setText("LOGIN CREDENTIALS");
+
+ javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
+ jPanel2.setLayout(jPanel2Layout);
+ jPanel2Layout.setHorizontalGroup(
+ jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGap(157, 157, 157)
+ .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 214, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(170, Short.MAX_VALUE))
+ );
+ jPanel2Layout.setVerticalGroup(
+ jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGap(26, 26, 26)
+ .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(23, Short.MAX_VALUE))
+ );
+
+ jButton2.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
+ jButton2.setText("BACK");
+ jButton2.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton2ActionPerformed(evt);
+ }
+ });
+
+ javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
+ jPanel1.setLayout(jPanel1Layout);
+ jPanel1Layout.setHorizontalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
+ .addContainerGap()
+ .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 191, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 191, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
+ .addComponent(lpass, javax.swing.GroupLayout.DEFAULT_SIZE, 194, Short.MAX_VALUE)
+ .addComponent(lname, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addGap(0, 0, Short.MAX_VALUE)
+ .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 103, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(16, 16, 16)))
+ .addGap(32, 32, 32))
+ .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ );
+ jPanel1Layout.setVerticalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
+ .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(lname, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addComponent(lpass, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addComponent(jButton2, javax.swing.GroupLayout.DEFAULT_SIZE, 42, Short.MAX_VALUE)
+ .addGap(1, 1, 1)))
+ .addGap(28, 28, 28))
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 55, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(27, 27, 27))))
+ );
+
+ javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
+ getContentPane().setLayout(layout);
+ layout.setHorizontalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ );
+ layout.setVerticalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ );
+
+ pack();
+ }// //GEN-END:initComponents
+
+ private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
+ try{
+ Class.forName("com.mysql.jdbc.Driver");
+ String URL="jdbc:mysql://localhost:3306/lms";
+
+ con = DriverManager.getConnection(URL,"root","");
+ pst=con.prepareStatement("select *from admin");
+ rs=pst.executeQuery();
+ while(rs.next()){
+ lname.setText(rs.getString(2));
+ lpass.setText(rs.getString(3));
+ }
+}catch(ClassNotFoundException | SQLException ex){
+ System.out.print(ex);
+} // TODO add your handling code here:
+ }//GEN-LAST:event_jButton1ActionPerformed
+
+ private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
+ // TODO add your handling code here:
+ AM am=new AM();
+ this.dispose();
+ am.setVisible(true);
+ }//GEN-LAST:event_jButton2ActionPerformed
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String args[]) {
+ /* Set the Nimbus look and feel */
+ //
+ /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
+ * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
+ */
+ try {
+ for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
+ if ("Nimbus".equals(info.getName())) {
+ javax.swing.UIManager.setLookAndFeel(info.getClassName());
+ break;
+ }
+ }
+ } catch (ClassNotFoundException ex) {
+ java.util.logging.Logger.getLogger(AD.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (InstantiationException ex) {
+ java.util.logging.Logger.getLogger(AD.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (IllegalAccessException ex) {
+ java.util.logging.Logger.getLogger(AD.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (javax.swing.UnsupportedLookAndFeelException ex) {
+ java.util.logging.Logger.getLogger(AD.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ }
+ //
+
+ /* Create and display the form */
+ java.awt.EventQueue.invokeLater(new Runnable() {
+ public void run() {
+ new AD().setVisible(true);
+ }
+ });
+ }
+
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JButton jButton1;
+ private javax.swing.JButton jButton2;
+ private javax.swing.JLabel jLabel1;
+ private javax.swing.JLabel jLabel2;
+ private javax.swing.JLabel jLabel3;
+ private javax.swing.JPanel jPanel1;
+ private javax.swing.JPanel jPanel2;
+ private javax.swing.JLabel lname;
+ private javax.swing.JLabel lpass;
+ // End of variables declaration//GEN-END:variables
+}
\ No newline at end of file
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ADCAT.form b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ADCAT.form
new file mode 100644
index 0000000..d5bb45e
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ADCAT.form
@@ -0,0 +1,203 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ADCAT.java b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ADCAT.java
new file mode 100644
index 0000000..d5137c1
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ADCAT.java
@@ -0,0 +1,230 @@
+
+package LMS;
+
+
+public class ADCAT extends javax.swing.JFrame {
+
+
+ public ADCAT() {
+ initComponents();
+ }
+
+ @SuppressWarnings("unchecked")
+ // //GEN-BEGIN:initComponents
+ private void initComponents() {
+
+ jPanel1 = new javax.swing.JPanel();
+ jPanel2 = new javax.swing.JPanel();
+ jButton1 = new javax.swing.JButton();
+ jButton2 = new javax.swing.JButton();
+ jButton3 = new javax.swing.JButton();
+ jLabel2 = new javax.swing.JLabel();
+ jButton4 = new javax.swing.JButton();
+ jButton5 = new javax.swing.JButton();
+ jLabel1 = new javax.swing.JLabel();
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
+
+ jPanel1.setBackground(new java.awt.Color(0, 153, 153));
+
+ jButton1.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N
+ jButton1.setText("ISL");
+ jButton1.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton1ActionPerformed(evt);
+ }
+ });
+
+ jButton2.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N
+ jButton2.setText("OS");
+ jButton2.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton2ActionPerformed(evt);
+ }
+ });
+
+ jButton3.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N
+ jButton3.setText("AOOP");
+ jButton3.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton3ActionPerformed(evt);
+ }
+ });
+
+ jLabel2.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
+ jLabel2.setText("SELECT CATEGORY:");
+
+ jButton4.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N
+ jButton4.setText("BACK");
+ jButton4.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton4ActionPerformed(evt);
+ }
+ });
+
+ jButton5.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N
+ jButton5.setText("LOGOUT");
+ jButton5.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton5ActionPerformed(evt);
+ }
+ });
+
+ javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
+ jPanel2.setLayout(jPanel2Layout);
+ jPanel2Layout.setHorizontalGroup(
+ jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGap(26, 26, 26)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(0, 0, Short.MAX_VALUE))
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
+ .addComponent(jButton3, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 98, Short.MAX_VALUE)
+ .addComponent(jButton1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(jButton2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(jButton4, javax.swing.GroupLayout.PREFERRED_SIZE, 96, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(18, 18, 18)
+ .addComponent(jButton5)
+ .addGap(55, 55, 55))))
+ );
+ jPanel2Layout.setVerticalGroup(
+ jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addContainerGap()
+ .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jButton4, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jButton5, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGap(24, 24, 24))
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGap(18, 18, 18)
+ .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 46, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(18, 18, 18)
+ .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(54, Short.MAX_VALUE))))
+ );
+
+ jLabel1.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
+ jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
+ jLabel1.setText("CUSTOMIZE CATEGORIES");
+
+ javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
+ jPanel1.setLayout(jPanel1Layout);
+ jPanel1Layout.setHorizontalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
+ .addContainerGap(99, Short.MAX_VALUE)
+ .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 329, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(83, 83, 83))
+ );
+ jPanel1Layout.setVerticalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
+ .addContainerGap()
+ .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 53, Short.MAX_VALUE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ );
+
+ javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
+ getContentPane().setLayout(layout);
+ layout.setHorizontalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ );
+ layout.setVerticalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(layout.createSequentialGroup()
+ .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(0, 1, Short.MAX_VALUE))
+ );
+
+ pack();
+ }// //GEN-END:initComponents
+
+ private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton4ActionPerformed
+AM am=new AM();
+this.dispose();
+am.setVisible(true);
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton4ActionPerformed
+
+ private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton5ActionPerformed
+main ml=new main();
+this.dispose();
+ml.setVisible(true);// TODO add your handling code here:
+ }//GEN-LAST:event_jButton5ActionPerformed
+
+ private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
+ACQ ca=new ACQ();
+this.dispose();
+ca.setVisible(true);
+
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton3ActionPerformed
+
+ private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton1ActionPerformed
+
+ private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton2ActionPerformed
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String args[]) {
+ /* Set the Nimbus look and feel */
+ //
+ /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
+ * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
+ */
+ try {
+ for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
+ if ("Nimbus".equals(info.getName())) {
+ javax.swing.UIManager.setLookAndFeel(info.getClassName());
+ break;
+ }
+ }
+ } catch (ClassNotFoundException ex) {
+ java.util.logging.Logger.getLogger(ADCAT.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (InstantiationException ex) {
+ java.util.logging.Logger.getLogger(ADCAT.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (IllegalAccessException ex) {
+ java.util.logging.Logger.getLogger(ADCAT.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (javax.swing.UnsupportedLookAndFeelException ex) {
+ java.util.logging.Logger.getLogger(ADCAT.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ }
+ //
+
+ /* Create and display the form */
+ java.awt.EventQueue.invokeLater(new Runnable() {
+ public void run() {
+ new ADCAT().setVisible(true);
+ }
+ });
+ }
+
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JButton jButton1;
+ private javax.swing.JButton jButton2;
+ private javax.swing.JButton jButton3;
+ private javax.swing.JButton jButton4;
+ private javax.swing.JButton jButton5;
+ private javax.swing.JLabel jLabel1;
+ private javax.swing.JLabel jLabel2;
+ private javax.swing.JPanel jPanel1;
+ private javax.swing.JPanel jPanel2;
+ // End of variables declaration//GEN-END:variables
+}
\ No newline at end of file
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ADST.form b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ADST.form
new file mode 100644
index 0000000..1a7c4ed
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ADST.form
@@ -0,0 +1,217 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ADST.java b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ADST.java
new file mode 100644
index 0000000..67ccc53
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ADST.java
@@ -0,0 +1,257 @@
+
+package LMS;
+
+public class ADST extends javax.swing.JFrame {
+
+ public ADST() {
+ initComponents();
+ }
+
+ @SuppressWarnings("unchecked")
+ // //GEN-BEGIN:initComponents
+ private void initComponents() {
+
+ jPanel1 = new javax.swing.JPanel();
+ jLabel1 = new javax.swing.JLabel();
+ jLabel2 = new javax.swing.JLabel();
+ jLabel3 = new javax.swing.JLabel();
+ jLabel4 = new javax.swing.JLabel();
+ jLabel5 = new javax.swing.JLabel();
+ jTextField1 = new javax.swing.JTextField();
+ jTextField2 = new javax.swing.JTextField();
+ jTextField3 = new javax.swing.JTextField();
+ jPasswordField1 = new javax.swing.JPasswordField();
+ jButton1 = new javax.swing.JButton();
+ jButton2 = new javax.swing.JButton();
+ jButton3 = new javax.swing.JButton();
+ jButton4 = new javax.swing.JButton();
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
+
+ jPanel1.setBackground(new java.awt.Color(0, 153, 153));
+
+ jLabel1.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
+ jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
+ jLabel1.setText("REGISTER STUDENT ");
+
+ javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
+ jPanel1.setLayout(jPanel1Layout);
+ jPanel1Layout.setHorizontalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addGap(35, 35, 35)
+ .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 325, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(40, Short.MAX_VALUE))
+ );
+ jPanel1Layout.setVerticalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
+ .addContainerGap()
+ .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 36, Short.MAX_VALUE)
+ .addContainerGap())
+ );
+
+ jLabel2.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
+ jLabel2.setText("NAME");
+
+ jLabel3.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
+ jLabel3.setText("DEPARTMENT");
+
+ jLabel4.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
+ jLabel4.setText("PASSWORD");
+
+ jLabel5.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
+ jLabel5.setText("USER NAME");
+
+ jButton1.setText("ADD");
+ jButton1.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton1ActionPerformed(evt);
+ }
+ });
+
+ jButton2.setText("EXIT");
+ jButton2.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton2ActionPerformed(evt);
+ }
+ });
+
+ jButton3.setText("LOGOUT");
+ jButton3.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton3ActionPerformed(evt);
+ }
+ });
+
+ jButton4.setText("BACK");
+ jButton4.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton4ActionPerformed(evt);
+ }
+ });
+
+ javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
+ getContentPane().setLayout(layout);
+ layout.setHorizontalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addGroup(layout.createSequentialGroup()
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(layout.createSequentialGroup()
+ .addGap(28, 28, 28)
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
+ .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 97, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 97, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 97, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 97, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 85, Short.MAX_VALUE))
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
+ .addContainerGap()
+ .addComponent(jButton4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addGap(18, 18, 18)
+ .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 95, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(23, 23, 23)))
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
+ .addComponent(jTextField1)
+ .addComponent(jTextField2, javax.swing.GroupLayout.DEFAULT_SIZE, 167, Short.MAX_VALUE)
+ .addComponent(jTextField3, javax.swing.GroupLayout.DEFAULT_SIZE, 167, Short.MAX_VALUE)
+ .addComponent(jPasswordField1))
+ .addGroup(layout.createSequentialGroup()
+ .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 77, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(18, 18, 18)
+ .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 85, javax.swing.GroupLayout.PREFERRED_SIZE)))
+ .addContainerGap())
+ );
+ layout.setVerticalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(layout.createSequentialGroup()
+ .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(18, 18, 18)
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGap(13, 13, 13)
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 26, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jPasswordField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGap(28, 28, 28)
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jButton4, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 36, javax.swing.GroupLayout.PREFERRED_SIZE))))
+ .addGap(0, 31, Short.MAX_VALUE))
+ );
+
+ pack();
+ }// //GEN-END:initComponents
+
+ private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
+
+ try{
+ ASTUD s1=new ASTUD();
+ s1.name=jTextField1.getText();
+ s1.department=jTextField2.getText();
+ s1.username=jTextField3.getText();
+ s1.password=jPasswordField1.getText();
+ ADSTU_DAO sd=new ADSTU_DAO();
+ sd.insert(s1);
+
+
+
+ jTextField1.setText("");
+ jTextField2.setText("");
+ jTextField3.setText("");
+ jPasswordField1.setText("");
+
+
+}catch(Exception ex){
+ System.out.print(ex);
+}
+
+// TODO add your handling code here:
+ }//GEN-LAST:event_jButton1ActionPerformed
+
+ private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
+this.dispose();
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton2ActionPerformed
+
+ private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
+main m=new main();
+this.dispose();
+m.setVisible(true);
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton3ActionPerformed
+
+ private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton4ActionPerformed
+AM am=new AM();
+this.dispose();
+am.setVisible(true);
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton4ActionPerformed
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String args[]) {
+ /* Set the Nimbus look and feel */
+ //
+ /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
+ * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
+ */
+ try {
+ for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
+ if ("Nimbus".equals(info.getName())) {
+ javax.swing.UIManager.setLookAndFeel(info.getClassName());
+ break;
+ }
+ }
+ } catch (ClassNotFoundException ex) {
+ java.util.logging.Logger.getLogger(ADST.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (InstantiationException ex) {
+ java.util.logging.Logger.getLogger(ADST.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (IllegalAccessException ex) {
+ java.util.logging.Logger.getLogger(ADST.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (javax.swing.UnsupportedLookAndFeelException ex) {
+ java.util.logging.Logger.getLogger(ADST.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ }
+ //
+
+ /* Create and display the form */
+ java.awt.EventQueue.invokeLater(new Runnable() {
+ public void run() {
+ new ADST().setVisible(true);
+ }
+ });
+ }
+
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JButton jButton1;
+ private javax.swing.JButton jButton2;
+ private javax.swing.JButton jButton3;
+ private javax.swing.JButton jButton4;
+ private javax.swing.JLabel jLabel1;
+ private javax.swing.JLabel jLabel2;
+ private javax.swing.JLabel jLabel3;
+ private javax.swing.JLabel jLabel4;
+ private javax.swing.JLabel jLabel5;
+ private javax.swing.JPanel jPanel1;
+ private javax.swing.JPasswordField jPasswordField1;
+ private javax.swing.JTextField jTextField1;
+ private javax.swing.JTextField jTextField2;
+ private javax.swing.JTextField jTextField3;
+ // End of variables declaration//GEN-END:variables
+}
\ No newline at end of file
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/AL.form b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/AL.form
new file mode 100644
index 0000000..6264dd5
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/AL.form
@@ -0,0 +1,174 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/AL.java b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/AL.java
new file mode 100644
index 0000000..7aaa434
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/AL.java
@@ -0,0 +1,221 @@
+
+package LMS;
+
+import java.awt.HeadlessException;
+import javax.swing.JOptionPane;
+import java.sql.*;
+
+public class AL extends javax.swing.JFrame {
+
+ Connection con;
+ PreparedStatement pst;
+ ResultSet rs;
+ public AL() {
+ initComponents();
+ }
+
+ @SuppressWarnings("unchecked")
+ // //GEN-BEGIN:initComponents
+ private void initComponents() {
+
+ jPanel1 = new javax.swing.JPanel();
+ jLabel1 = new javax.swing.JLabel();
+ jLabel2 = new javax.swing.JLabel();
+ jTextField1 = new javax.swing.JTextField();
+ jPasswordField1 = new javax.swing.JPasswordField();
+ jButton1 = new javax.swing.JButton();
+ jButton2 = new javax.swing.JButton();
+ jPanel2 = new javax.swing.JPanel();
+ jLabel3 = new javax.swing.JLabel();
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
+
+ jLabel1.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
+ jLabel1.setText("USER NAME");
+
+ jLabel2.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
+ jLabel2.setText("PASSWORD");
+
+ jTextField1.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jTextField1ActionPerformed(evt);
+ }
+ });
+
+ jButton1.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
+ jButton1.setText("LOGIN");
+ jButton1.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton1ActionPerformed(evt);
+ }
+ });
+
+ jButton2.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
+ jButton2.setText("CANCEL");
+ jButton2.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton2ActionPerformed(evt);
+ }
+ });
+
+ jPanel2.setBackground(new java.awt.Color(0, 153, 153));
+
+ jLabel3.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
+ jLabel3.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
+ jLabel3.setText("ADMIN LOGIN");
+
+ javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
+ jPanel2.setLayout(jPanel2Layout);
+ jPanel2Layout.setHorizontalGroup(
+ jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
+ .addContainerGap(220, Short.MAX_VALUE)
+ .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 157, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(217, 217, 217))
+ );
+ jPanel2Layout.setVerticalGroup(
+ jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGap(19, 19, 19)
+ .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 60, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(21, Short.MAX_VALUE))
+ );
+
+ javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
+ jPanel1.setLayout(jPanel1Layout);
+ jPanel1Layout.setHorizontalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addGap(57, 57, 57)
+ .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
+ .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 112, Short.MAX_VALUE)
+ .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addGap(30, 30, 30)
+ .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(18, 18, 18)
+ .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 86, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addComponent(jPasswordField1, javax.swing.GroupLayout.PREFERRED_SIZE, 191, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 191, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addContainerGap(204, Short.MAX_VALUE))
+ );
+ jPanel1Layout.setVerticalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(27, 27, 27)
+ .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 25, Short.MAX_VALUE)
+ .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jPasswordField1, javax.swing.GroupLayout.DEFAULT_SIZE, 29, Short.MAX_VALUE))
+ .addGap(28, 28, 28)
+ .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGap(62, 62, 62))
+ );
+
+ javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
+ getContentPane().setLayout(layout);
+ layout.setHorizontalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ );
+ layout.setVerticalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ );
+
+ pack();
+ }// //GEN-END:initComponents
+
+ private void jTextField1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextField1ActionPerformed
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jTextField1ActionPerformed
+
+ private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
+this.dispose(); // TODO add your handling code here:
+ }//GEN-LAST:event_jButton2ActionPerformed
+
+ private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
+ if(jTextField1.getText().length()==0 || jPasswordField1.getText().length()==0)
+ {
+ JOptionPane.showMessageDialog(this,"Please Fill the Given Fields!");
+ }
+ else{
+ try{
+ String Ad_user=jTextField1.getText();
+ String Ad_pass=jPasswordField1.getText();
+ Class.forName("com.mysql.jdbc.Driver");
+ String URL="jdbc:mysql://localhost:3306/lms";
+
+ con = DriverManager.getConnection(URL,"root","");
+pst=con.prepareStatement("select *from admin where username=? and password=?");
+ pst.setString(1, Ad_user);
+ pst.setString(2, Ad_pass);
+ rs= pst.executeQuery();
+ if(rs.next()){
+ AM adm=new AM();
+ this.hide();
+ adm.setVisible(true);
+
+ }else{JOptionPane.showMessageDialog(this,"Incorrect Credentials!"); }
+}catch(HeadlessException | ClassNotFoundException | SQLException ex){
+ System.out.print(ex);
+}}
+// TODO add your handling code here:
+
+ }//GEN-LAST:event_jButton1ActionPerformed
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String args[]) {
+ /* Set the Nimbus look and feel */
+ //
+ /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
+ * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
+ */
+ try {
+ for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
+ if ("Nimbus".equals(info.getName())) {
+ javax.swing.UIManager.setLookAndFeel(info.getClassName());
+ break;
+ }
+ }
+ } catch (ClassNotFoundException ex) {
+ java.util.logging.Logger.getLogger(AL.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (InstantiationException ex) {
+ java.util.logging.Logger.getLogger(AL.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (IllegalAccessException ex) {
+ java.util.logging.Logger.getLogger(AL.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (javax.swing.UnsupportedLookAndFeelException ex) {
+ java.util.logging.Logger.getLogger(AL.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ }
+ //
+
+ /* Create and display the form */
+ java.awt.EventQueue.invokeLater(new Runnable() {
+ public void run() {
+ new AL().setVisible(true);
+ }
+ });
+ }
+
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JButton jButton1;
+ private javax.swing.JButton jButton2;
+ private javax.swing.JLabel jLabel1;
+ private javax.swing.JLabel jLabel2;
+ private javax.swing.JLabel jLabel3;
+ private javax.swing.JPanel jPanel1;
+ private javax.swing.JPanel jPanel2;
+ private javax.swing.JPasswordField jPasswordField1;
+ private javax.swing.JTextField jTextField1;
+ // End of variables declaration//GEN-END:variables
+}
\ No newline at end of file
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/AM.form b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/AM.form
new file mode 100644
index 0000000..438aaa9
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/AM.form
@@ -0,0 +1,182 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/AM.java b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/AM.java
new file mode 100644
index 0000000..10f2d41
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/AM.java
@@ -0,0 +1,220 @@
+
+package LMS;
+
+public class AM extends javax.swing.JFrame {
+
+
+ public AM() {
+ initComponents();
+ }
+
+ @SuppressWarnings("unchecked")
+ // //GEN-BEGIN:initComponents
+ private void initComponents() {
+
+ jPanel1 = new javax.swing.JPanel();
+ jLabel1 = new javax.swing.JLabel();
+ jPanel2 = new javax.swing.JPanel();
+ jButton1 = new javax.swing.JButton();
+ jButton2 = new javax.swing.JButton();
+ jButton3 = new javax.swing.JButton();
+ jButton4 = new javax.swing.JButton();
+ jButton5 = new javax.swing.JButton();
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
+
+ jPanel1.setBackground(new java.awt.Color(0, 153, 153));
+
+ jLabel1.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
+ jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
+ jLabel1.setText("ADMIN PANEL");
+
+ javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
+ jPanel1.setLayout(jPanel1Layout);
+ jPanel1Layout.setHorizontalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addGap(85, 85, 85)
+ .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 420, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(99, Short.MAX_VALUE))
+ );
+ jPanel1Layout.setVerticalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addGap(28, 28, 28)
+ .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 51, Short.MAX_VALUE)
+ .addGap(20, 20, 20))
+ );
+
+ jPanel2.setBackground(new java.awt.Color(204, 204, 204));
+
+ jButton1.setFont(new java.awt.Font("Times New Roman", 0, 11)); // NOI18N
+ jButton1.setText("LOGIN DETAILS");
+ jButton1.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton1ActionPerformed(evt);
+ }
+ });
+
+ jButton2.setFont(new java.awt.Font("Times New Roman", 0, 11)); // NOI18N
+ jButton2.setText("EXIT");
+ jButton2.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton2ActionPerformed(evt);
+ }
+ });
+
+ jButton3.setFont(new java.awt.Font("Times New Roman", 0, 11)); // NOI18N
+ jButton3.setText("LOGOUT");
+ jButton3.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton3ActionPerformed(evt);
+ }
+ });
+
+ jButton4.setFont(new java.awt.Font("Times New Roman", 0, 11)); // NOI18N
+ jButton4.setText("MODIFY CATEGRY");
+ jButton4.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton4ActionPerformed(evt);
+ }
+ });
+
+ jButton5.setFont(new java.awt.Font("Times New Roman", 0, 11)); // NOI18N
+ jButton5.setText("ADD STUDENT");
+ jButton5.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton5ActionPerformed(evt);
+ }
+ });
+
+ javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
+ jPanel2.setLayout(jPanel2Layout);
+ jPanel2Layout.setHorizontalGroup(
+ jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGap(45, 45, 45)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
+ .addComponent(jButton5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
+ .addComponent(jButton1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(jButton4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(32, 32, 32)
+ .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 108, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(46, 46, 46))
+ );
+ jPanel2Layout.setVerticalGroup(
+ jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGap(20, 20, 20)
+ .addComponent(jButton5, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(18, 18, 18)
+ .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(18, 18, 18)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jButton4, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addContainerGap(30, Short.MAX_VALUE))
+ );
+
+ javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
+ getContentPane().setLayout(layout);
+ layout.setHorizontalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ );
+ layout.setVerticalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(layout.createSequentialGroup()
+ .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ );
+
+ pack();
+ }// //GEN-END:initComponents
+
+ private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
+AD af=new AD();
+this.hide();
+af.setVisible(true);// TODO add your handling code here:
+ }//GEN-LAST:event_jButton1ActionPerformed
+
+ private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton5ActionPerformed
+ADST st=new ADST();
+st.setVisible(true);
+this.hide();;
+
+// TODO add your handling code here:
+ }//GEN-LAST:event_jButton5ActionPerformed
+
+ private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
+this.dispose();
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton2ActionPerformed
+
+ private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton4ActionPerformed
+ADCAT ac=new ADCAT();
+this.dispose();
+ac.setVisible(true);
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton4ActionPerformed
+
+ private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
+main ml=new main();
+this.dispose();
+ml.setVisible(true);
+
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton3ActionPerformed
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String args[]) {
+ /* Set the Nimbus look and feel */
+ //
+ /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
+ * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
+ */
+ try {
+ for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
+ if ("Nimbus".equals(info.getName())) {
+ javax.swing.UIManager.setLookAndFeel(info.getClassName());
+ break;
+ }
+ }
+ } catch (ClassNotFoundException ex) {
+ java.util.logging.Logger.getLogger(AM.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (InstantiationException ex) {
+ java.util.logging.Logger.getLogger(AM.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (IllegalAccessException ex) {
+ java.util.logging.Logger.getLogger(AM.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (javax.swing.UnsupportedLookAndFeelException ex) {
+ java.util.logging.Logger.getLogger(AM.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ }
+ //
+
+ /* Create and display the form */
+ java.awt.EventQueue.invokeLater(new Runnable() {
+ public void run() {
+ new AM().setVisible(true);
+ }
+ });
+ }
+
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JButton jButton1;
+ private javax.swing.JButton jButton2;
+ private javax.swing.JButton jButton3;
+ private javax.swing.JButton jButton4;
+ private javax.swing.JButton jButton5;
+ private javax.swing.JLabel jLabel1;
+ private javax.swing.JPanel jPanel1;
+ private javax.swing.JPanel jPanel2;
+ // End of variables declaration//GEN-END:variables
+}
\ No newline at end of file
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ASTUD.java b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ASTUD.java
new file mode 100644
index 0000000..5e7459b
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/ASTUD.java
@@ -0,0 +1,43 @@
+
+package LMS;
+import java.sql.*;
+
+public class ASTUD {
+ String name;
+ String department;
+ String username;
+ String password;
+}
+class ADSTU_DAO{
+Connection con;
+PreparedStatement pst;
+void connection(){
+ try {
+ Class.forName("com.mysql.jdbc.Driver");
+
+ String URL="jdbc:mysql://localhost:3306/lms";
+
+ con = DriverManager.getConnection(URL,"root","");
+
+ } catch (ClassNotFoundException | SQLException ex) {
+ }
+}
+int insert(ASTUD a){
+connection();
+int rs=0;
+try {
+ pst=con.prepareStatement("INSERT INTO `student` (`name`, `department`, `username`, `password`) VALUES (?,?,?,?)");
+
+ pst.setString(1, a.name);
+ pst.setString(2, a.department);
+ pst.setString(3, a.username);
+ pst.setString(4, a.password);
+ rs=pst.executeUpdate();
+
+
+ } catch (SQLException ex) {
+ System.out.println(ex);
+ }
+return rs;
+}
+}
\ No newline at end of file
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/CQ.form b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/CQ.form
new file mode 100644
index 0000000..1e4cb46
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/CQ.form
@@ -0,0 +1,387 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/CQ.java b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/CQ.java
new file mode 100644
index 0000000..5bed7aa
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/CQ.java
@@ -0,0 +1,476 @@
+
+package LMS;
+import java.sql.*;
+import javax.swing.JOptionPane;
+
+public class CQ extends javax.swing.JFrame {
+
+ Connection con;
+ PreparedStatement pst;
+ ResultSet rs;
+ String selection=null;
+ String ans=null;
+ String q="1";
+ int marks=0;
+ int totalmarks=0;
+ String m;
+ int qn=1;
+ char a;
+ char b;
+
+
+
+ public CQ() {
+ initComponents();
+ }
+
+
+ @SuppressWarnings("unchecked")
+ // //GEN-BEGIN:initComponents
+ private void initComponents() {
+
+ jPanel1 = new javax.swing.JPanel();
+ jLabel8 = new javax.swing.JLabel();
+ h2 = new javax.swing.JPanel();
+ jLabel1 = new javax.swing.JLabel();
+ QNO = new javax.swing.JLabel();
+ Q = new javax.swing.JLabel();
+ oa = new javax.swing.JRadioButton();
+ ob = new javax.swing.JRadioButton();
+ oc = new javax.swing.JRadioButton();
+ od = new javax.swing.JRadioButton();
+ jButton2 = new javax.swing.JButton();
+ opa = new javax.swing.JLabel();
+ opb = new javax.swing.JLabel();
+ opc = new javax.swing.JLabel();
+ opd = new javax.swing.JLabel();
+ hide = new javax.swing.JLabel();
+ jLabel2 = new javax.swing.JLabel();
+ hd2 = new javax.swing.JLabel();
+ nx = new javax.swing.JButton();
+ jLabel3 = new javax.swing.JLabel();
+ name = new javax.swing.JTextField();
+ submeted = new javax.swing.JLabel();
+ jLabel4 = new javax.swing.JLabel();
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
+
+ jPanel1.setBackground(new java.awt.Color(0, 153, 153));
+ jPanel1.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
+
+ jLabel8.setFont(new java.awt.Font("Times New Roman", 1, 24)); // NOI18N
+ jLabel8.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
+ jLabel8.setText("MCQs");
+
+ javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
+ jPanel1.setLayout(jPanel1Layout);
+ jPanel1Layout.setHorizontalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addGap(234, 234, 234)
+ .addComponent(jLabel8, javax.swing.GroupLayout.PREFERRED_SIZE, 293, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ );
+ jPanel1Layout.setVerticalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
+ .addContainerGap()
+ .addComponent(jLabel8, javax.swing.GroupLayout.DEFAULT_SIZE, 45, Short.MAX_VALUE)
+ .addContainerGap())
+ );
+
+ h2.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
+
+ jLabel1.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N
+ jLabel1.setText("Q.NO :");
+
+ QNO.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N
+
+ Q.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N
+
+ oa.setText("A");
+ oa.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ oaActionPerformed(evt);
+ }
+ });
+
+ ob.setText("B");
+ ob.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ obActionPerformed(evt);
+ }
+ });
+
+ oc.setText("C");
+ oc.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ ocActionPerformed(evt);
+ }
+ });
+
+ od.setText("D");
+ od.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ odActionPerformed(evt);
+ }
+ });
+
+ jButton2.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
+ jButton2.setText("SUBMIT");
+ jButton2.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton2ActionPerformed(evt);
+ }
+ });
+
+ opa.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
+
+ opb.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
+
+ opc.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
+
+ opd.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
+
+ nx.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
+ nx.setText("START");
+ nx.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ nxActionPerformed(evt);
+ }
+ });
+
+ jLabel3.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
+ jLabel3.setText("ENTER NAME:");
+
+ name.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ nameActionPerformed(evt);
+ }
+ });
+
+ submeted.setBackground(new java.awt.Color(204, 204, 0));
+ submeted.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N
+ submeted.setForeground(new java.awt.Color(51, 255, 51));
+
+ javax.swing.GroupLayout h2Layout = new javax.swing.GroupLayout(h2);
+ h2.setLayout(h2Layout);
+ h2Layout.setHorizontalGroup(
+ h2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, h2Layout.createSequentialGroup()
+ .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addGroup(h2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, h2Layout.createSequentialGroup()
+ .addComponent(hd2)
+ .addGap(181, 181, 181))
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, h2Layout.createSequentialGroup()
+ .addComponent(jLabel2)
+ .addGap(150, 150, 150))))
+ .addGroup(h2Layout.createSequentialGroup()
+ .addGroup(h2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
+ .addGroup(javax.swing.GroupLayout.Alignment.LEADING, h2Layout.createSequentialGroup()
+ .addGap(22, 22, 22)
+ .addGroup(h2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(h2Layout.createSequentialGroup()
+ .addGap(9, 9, 9)
+ .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 175, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(18, 18, 18)
+ .addComponent(name, javax.swing.GroupLayout.PREFERRED_SIZE, 219, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGroup(h2Layout.createSequentialGroup()
+ .addComponent(jLabel1)
+ .addGroup(h2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(h2Layout.createSequentialGroup()
+ .addComponent(QNO, javax.swing.GroupLayout.PREFERRED_SIZE, 53, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(18, 18, 18)
+ .addComponent(Q, javax.swing.GroupLayout.PREFERRED_SIZE, 543, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGroup(h2Layout.createSequentialGroup()
+ .addComponent(oa, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(18, 18, 18)
+ .addComponent(opa, javax.swing.GroupLayout.PREFERRED_SIZE, 260, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(177, 177, 177)
+ .addGroup(h2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
+ .addComponent(ob, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(od, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(h2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(opd, javax.swing.GroupLayout.PREFERRED_SIZE, 152, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(opb, javax.swing.GroupLayout.PREFERRED_SIZE, 166, javax.swing.GroupLayout.PREFERRED_SIZE)))
+ .addGroup(h2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
+ .addComponent(nx, javax.swing.GroupLayout.PREFERRED_SIZE, 98, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGroup(h2Layout.createSequentialGroup()
+ .addComponent(oc, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
+ .addComponent(opc, javax.swing.GroupLayout.PREFERRED_SIZE, 239, javax.swing.GroupLayout.PREFERRED_SIZE)))))))
+ .addGroup(javax.swing.GroupLayout.Alignment.LEADING, h2Layout.createSequentialGroup()
+ .addGap(107, 107, 107)
+ .addComponent(submeted, javax.swing.GroupLayout.PREFERRED_SIZE, 134, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(167, 167, 167)
+ .addGroup(h2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(hide, javax.swing.GroupLayout.PREFERRED_SIZE, 11, javax.swing.GroupLayout.PREFERRED_SIZE))))
+ .addContainerGap(21, Short.MAX_VALUE))
+ .addGroup(h2Layout.createSequentialGroup()
+ .addGap(377, 377, 377)
+ .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 133, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(0, 0, Short.MAX_VALUE))
+ );
+ h2Layout.setVerticalGroup(
+ h2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, h2Layout.createSequentialGroup()
+ .addGroup(h2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(h2Layout.createSequentialGroup()
+ .addGroup(h2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
+ .addGroup(h2Layout.createSequentialGroup()
+ .addGap(6, 6, 6)
+ .addComponent(jLabel2)
+ .addGap(107, 107, 107)
+ .addComponent(hd2)
+ .addGap(58, 58, 58))
+ .addGroup(javax.swing.GroupLayout.Alignment.LEADING, h2Layout.createSequentialGroup()
+ .addGap(47, 47, 47)
+ .addGroup(h2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
+ .addComponent(jLabel3, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(name, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 38, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 90, Short.MAX_VALUE)))
+ .addGroup(h2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
+ .addComponent(Q, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 45, Short.MAX_VALUE)
+ .addComponent(QNO, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addGap(72, 72, 72)
+ .addGroup(h2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
+ .addComponent(opa, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(opb, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(oa, javax.swing.GroupLayout.DEFAULT_SIZE, 32, Short.MAX_VALUE)
+ .addComponent(ob, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addGroup(h2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
+ .addGroup(h2Layout.createSequentialGroup()
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(od, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGroup(javax.swing.GroupLayout.Alignment.LEADING, h2Layout.createSequentialGroup()
+ .addGap(28, 28, 28)
+ .addGroup(h2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(oc, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(opc, javax.swing.GroupLayout.PREFERRED_SIZE, 29, javax.swing.GroupLayout.PREFERRED_SIZE)))))
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, h2Layout.createSequentialGroup()
+ .addGap(349, 349, 349)
+ .addComponent(opd, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
+ .addGroup(h2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(nx, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 27, Short.MAX_VALUE)
+ .addGroup(h2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(hide, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 13, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(submeted, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addContainerGap())
+ );
+
+ javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
+ getContentPane().setLayout(layout);
+ layout.setHorizontalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(h2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ );
+ layout.setVerticalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(layout.createSequentialGroup()
+ .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
+ .addComponent(h2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ );
+
+ pack();
+ }// //GEN-END:initComponents
+
+ private void nameActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_nameActionPerformed
+ // TODO add your handling code here:
+ }//GEN-LAST:event_nameActionPerformed
+
+ private void nxActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_nxActionPerformed
+ if(name.getText().length()==0){JOptionPane.showMessageDialog(this,"Please Enter Name");}else{
+ nx.setText("NEXT");
+ submeted.setText("");
+ jLabel3.setVisible(false);
+ name.setVisible(false);
+
+ selection=null;
+ oa.setSelected(false);
+ ob.setSelected(false);
+ od.setSelected(false);
+ oc.setSelected(false);
+
+ try{
+
+ CATQ_dao cd=new CATQ_dao();
+ rs=cd.select(qn);
+
+ while(rs.next()){
+ QNO.setText(rs.getString(1));
+ Q.setText(rs.getString(2));
+ opa.setText(rs.getString(4));
+ opb.setText(rs.getString(5));
+ opc.setText(rs.getString(6));
+ opd.setText(rs.getString(7));
+
+ ans=rs.getString(3);
+
+ q=QNO.getText();
+ qn++;
+ }
+
+ }catch(Exception ex){
+ System.out.print(ex);
+ }
+ }
+ if(qn==5){JOptionPane.showMessageDialog(this,"QUIZ ATTEMPT SUCCESSFULLY!");
+ try{
+ Class.forName("com.mysql.jdbc.Driver");
+ String URL="jdbc:mysql://localhost:3306/lms";
+
+ con = DriverManager.getConnection(URL,"root","");
+
+ pst=con.prepareStatement("insert into `result` (`name`,`total_marks`) values(?,?)");
+ pst.setString(1, name.getText());
+ pst.setInt(2, totalmarks);
+ pst.executeUpdate();
+ }catch(Exception ex){System.out.println();}
+ STM sm=new STM();
+ this.dispose();
+ sm.setVisible(true);
+ }else{}
+ // TODO add your handling code here:
+ }//GEN-LAST:event_nxActionPerformed
+
+ private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
+
+ if(selection == null){JOptionPane.showMessageDialog(this,"please select option");}
+
+ else{ if( selection == null ? ans == null : selection.equals(ans)){ m="1"; totalmarks++;}else{m="0";}
+
+ try{
+
+ Class.forName("com.mysql.jdbc.Driver");
+ String URL="jdbc:mysql://localhost:3306/lms";
+
+ con = DriverManager.getConnection(URL,"root","");
+
+ pst=con.prepareStatement("insert into `review` (`name`,`question`,`answer`,`mark`) values(?,?,?,?)");
+ pst.setString(1, name.getText());
+ pst.setString(2, q);
+ pst.setString(3, selection);
+ pst.setString(4, m);
+ pst.executeUpdate();
+ jLabel4.setText(selection);
+
+ submeted.setText("SUBMITED");
+ }catch(ClassNotFoundException | SQLException ex){}
+ }
+
+ }//GEN-LAST:event_jButton2ActionPerformed
+
+ private void odActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_odActionPerformed
+ if(od.isSelected()){
+ selection=od.getText();
+ oa.setSelected(false);
+ oc.setSelected(false);
+ ob.setSelected(false);
+
+ } // TODO add your handling code here:
+ }//GEN-LAST:event_odActionPerformed
+
+ private void ocActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_ocActionPerformed
+ if(oc.isSelected()){
+ selection=oc.getText();
+ ob.setSelected(false);
+ oa.setSelected(false);
+ od.setSelected(false);
+ }
+ // TODO add your handling code here:
+ }//GEN-LAST:event_ocActionPerformed
+
+ private void obActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_obActionPerformed
+ if(ob.isSelected()){
+ selection=ob.getText();
+ oa.setSelected(false);
+ oc.setSelected(false);
+ od.setSelected(false);
+ }
+ // TODO add your handling code here:
+ }//GEN-LAST:event_obActionPerformed
+
+ private void oaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_oaActionPerformed
+
+ if(oa.isSelected()){
+ selection=oa.getText();
+ ob.setSelected(false);
+ oc.setSelected(false);
+ od.setSelected(false);
+ }
+
+ // TODO add your handling code here:
+ }//GEN-LAST:event_oaActionPerformed
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String args[]) {
+ /* Set the Nimbus look and feel */
+ //
+ /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
+ * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
+ */
+ try {
+ for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
+ if ("Nimbus".equals(info.getName())) {
+ javax.swing.UIManager.setLookAndFeel(info.getClassName());
+ break;
+ }
+ }
+ } catch (ClassNotFoundException ex) {
+ java.util.logging.Logger.getLogger(CQ.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (InstantiationException ex) {
+ java.util.logging.Logger.getLogger(CQ.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (IllegalAccessException ex) {
+ java.util.logging.Logger.getLogger(CQ.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (javax.swing.UnsupportedLookAndFeelException ex) {
+ java.util.logging.Logger.getLogger(CQ.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ }
+ //
+
+ /* Create and display the form */
+ java.awt.EventQueue.invokeLater(new Runnable() {
+ public void run() {
+ new CQ().setVisible(true);
+ }
+ });
+ }
+
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JLabel Q;
+ private javax.swing.JLabel QNO;
+ private javax.swing.JPanel h2;
+ private javax.swing.JLabel hd2;
+ private javax.swing.JLabel hide;
+ private javax.swing.JButton jButton2;
+ private javax.swing.JLabel jLabel1;
+ private javax.swing.JLabel jLabel2;
+ private javax.swing.JLabel jLabel3;
+ private javax.swing.JLabel jLabel4;
+ private javax.swing.JLabel jLabel8;
+ private javax.swing.JPanel jPanel1;
+ private javax.swing.JTextField name;
+ private javax.swing.JButton nx;
+ private javax.swing.JRadioButton oa;
+ private javax.swing.JRadioButton ob;
+ private javax.swing.JRadioButton oc;
+ private javax.swing.JRadioButton od;
+ private javax.swing.JLabel opa;
+ private javax.swing.JLabel opb;
+ private javax.swing.JLabel opc;
+ private javax.swing.JLabel opd;
+ private javax.swing.JLabel submeted;
+ // End of variables declaration//GEN-END:variables
+}
\ No newline at end of file
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/STL.form b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/STL.form
new file mode 100644
index 0000000..8f81aa5
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/STL.form
@@ -0,0 +1,208 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/STL.java b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/STL.java
new file mode 100644
index 0000000..8b76408
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/STL.java
@@ -0,0 +1,251 @@
+
+package LMS;
+import java.awt.HeadlessException;
+import java.sql.*;
+import javax.swing.JOptionPane;
+
+public class STL extends javax.swing.JFrame {
+
+ Connection con;
+ PreparedStatement pst;
+ ResultSet rs;
+ String ST_user;
+
+ public STL() {
+ initComponents();
+ }
+
+ @SuppressWarnings("unchecked")
+ // //GEN-BEGIN:initComponents
+ private void initComponents() {
+
+ jPanel1 = new javax.swing.JPanel();
+ jLabel1 = new javax.swing.JLabel();
+ jPanel2 = new javax.swing.JPanel();
+ jLabel2 = new javax.swing.JLabel();
+ jLabel3 = new javax.swing.JLabel();
+ jTextField1 = new javax.swing.JTextField();
+ jButton1 = new javax.swing.JButton();
+ jButton2 = new javax.swing.JButton();
+ jButton3 = new javax.swing.JButton();
+ jPasswordField1 = new javax.swing.JPasswordField();
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
+
+ jPanel1.setBackground(new java.awt.Color(0, 153, 153));
+
+ jLabel1.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
+ jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
+ jLabel1.setText("STUDENT LOGIN");
+
+ javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
+ jPanel1.setLayout(jPanel1Layout);
+ jPanel1Layout.setHorizontalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
+ .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 165, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(165, 165, 165))
+ );
+ jPanel1Layout.setVerticalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
+ .addContainerGap(20, Short.MAX_VALUE)
+ .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 49, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap())
+ );
+
+ jLabel2.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
+ jLabel2.setText("PASSWORD :");
+
+ jLabel3.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
+ jLabel3.setText("USER NAME :");
+
+ jButton1.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
+ jButton1.setText("LOGIN");
+ jButton1.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton1ActionPerformed(evt);
+ }
+ });
+
+ jButton2.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
+ jButton2.setText("CANCEL");
+ jButton2.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton2ActionPerformed(evt);
+ }
+ });
+
+ jButton3.setFont(new java.awt.Font("Times New Roman", 0, 14)); // NOI18N
+ jButton3.setText("BACK");
+ jButton3.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton3ActionPerformed(evt);
+ }
+ });
+
+ javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
+ jPanel2.setLayout(jPanel2Layout);
+ jPanel2Layout.setHorizontalGroup(
+ jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGap(46, 46, 46)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 139, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 81, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGap(31, 31, 31)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
+ .addComponent(jPasswordField1, javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jTextField1, javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel2Layout.createSequentialGroup()
+ .addComponent(jButton1)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 35, Short.MAX_VALUE)
+ .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 85, javax.swing.GroupLayout.PREFERRED_SIZE)))
+ .addContainerGap(100, Short.MAX_VALUE))
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGap(49, 49, 49)
+ .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 139, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(323, Short.MAX_VALUE)))
+ );
+ jPanel2Layout.setVerticalGroup(
+ jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGap(36, 36, 36)
+ .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
+ .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(jPasswordField1, javax.swing.GroupLayout.DEFAULT_SIZE, 30, Short.MAX_VALUE))
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGap(26, 26, 26)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addContainerGap(50, Short.MAX_VALUE))
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 33, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(21, 21, 21))))
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGap(33, 33, 33)
+ .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(147, Short.MAX_VALUE)))
+ );
+
+ javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
+ getContentPane().setLayout(layout);
+ layout.setHorizontalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addGroup(layout.createSequentialGroup()
+ .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(0, 0, Short.MAX_VALUE))
+ );
+ layout.setVerticalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(layout.createSequentialGroup()
+ .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ );
+
+ pack();
+ }// //GEN-END:initComponents
+
+ private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
+ if(jTextField1.getText().length()==0 || jPasswordField1.getText().length()==0)
+ {
+ JOptionPane.showMessageDialog(this,"Please Fill the Given Fields!");
+ }
+ else{
+ try{
+ ST_user=jTextField1.getText();
+ String ST_pass=jPasswordField1.getText();
+ Class.forName("com.mysql.jdbc.Driver");
+ String URL="jdbc:mysql://localhost:3306/lms";
+
+ con = DriverManager.getConnection(URL,"root","");
+pst=con.prepareStatement("select *from student where username=? and password=?");
+ pst.setString(1, ST_user);
+ pst.setString(2, ST_pass);
+ rs= pst.executeQuery();
+ if(rs.next()){
+
+ STM st=new STM();
+ this.hide();
+ st.setVisible(true);
+
+ }else{JOptionPane.showMessageDialog(this,"Incorrect Credentials!"); }
+
+}catch(HeadlessException | ClassNotFoundException | SQLException ex){
+ System.out.print(ex);
+}}
+
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton1ActionPerformed
+
+ private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
+this.dispose();
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton2ActionPerformed
+
+ private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
+ main ml=new main();
+this.dispose();
+ml.setVisible(true);
+
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton3ActionPerformed
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String args[]) {
+ /* Set the Nimbus look and feel */
+ //
+ /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
+ * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
+ */
+ try {
+ for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
+ if ("Nimbus".equals(info.getName())) {
+ javax.swing.UIManager.setLookAndFeel(info.getClassName());
+ break;
+ }
+ }
+ } catch (ClassNotFoundException ex) {
+ java.util.logging.Logger.getLogger(STL.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (InstantiationException ex) {
+ java.util.logging.Logger.getLogger(STL.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (IllegalAccessException ex) {
+ java.util.logging.Logger.getLogger(STL.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (javax.swing.UnsupportedLookAndFeelException ex) {
+ java.util.logging.Logger.getLogger(STL.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ }
+ //
+
+ /* Create and display the form */
+ java.awt.EventQueue.invokeLater(new Runnable() {
+ public void run() {
+ new STL().setVisible(true);
+ }
+ });
+ }
+
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JButton jButton1;
+ private javax.swing.JButton jButton2;
+ private javax.swing.JButton jButton3;
+ private javax.swing.JLabel jLabel1;
+ private javax.swing.JLabel jLabel2;
+ private javax.swing.JLabel jLabel3;
+ private javax.swing.JPanel jPanel1;
+ private javax.swing.JPanel jPanel2;
+ private javax.swing.JPasswordField jPasswordField1;
+ private javax.swing.JTextField jTextField1;
+ // End of variables declaration//GEN-END:variables
+}
\ No newline at end of file
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/STM.form b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/STM.form
new file mode 100644
index 0000000..992d30b
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/STM.form
@@ -0,0 +1,198 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/STM.java b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/STM.java
new file mode 100644
index 0000000..40b6c97
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/STM.java
@@ -0,0 +1,228 @@
+
+package LMS;
+
+public class STM extends javax.swing.JFrame {
+
+ public STM() {
+ initComponents();
+ }
+
+ @SuppressWarnings("unchecked")
+ // //GEN-BEGIN:initComponents
+ private void initComponents() {
+
+ jPanel1 = new javax.swing.JPanel();
+ jLabel1 = new javax.swing.JLabel();
+ jButton1 = new javax.swing.JButton();
+ jButton2 = new javax.swing.JButton();
+ jButton3 = new javax.swing.JButton();
+ jButton4 = new javax.swing.JButton();
+ jButton5 = new javax.swing.JButton();
+ jButton6 = new javax.swing.JButton();
+ jLabel2 = new javax.swing.JLabel();
+ jLabel3 = new javax.swing.JLabel();
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
+
+ jPanel1.setBackground(new java.awt.Color(0, 153, 153));
+
+ jLabel1.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N
+ jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
+ jLabel1.setText("STUDENT MENU");
+
+ javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
+ jPanel1.setLayout(jPanel1Layout);
+ jPanel1Layout.setHorizontalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addGap(126, 126, 126)
+ .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 260, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ );
+ jPanel1Layout.setVerticalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addGap(21, 21, 21)
+ .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 44, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(22, Short.MAX_VALUE))
+ );
+
+ jButton1.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
+ jButton1.setText("ISL");
+
+ jButton2.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
+ jButton2.setText("OS");
+ jButton2.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton2ActionPerformed(evt);
+ }
+ });
+
+ jButton3.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
+ jButton3.setText("LOGOUT");
+ jButton3.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton3ActionPerformed(evt);
+ }
+ });
+
+ jButton4.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
+ jButton4.setText("AOOP");
+ jButton4.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton4ActionPerformed(evt);
+ }
+ });
+
+ jButton5.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
+ jButton5.setText("CANCEL");
+ jButton5.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton5ActionPerformed(evt);
+ }
+ });
+
+ jButton6.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
+ jButton6.setText("RESULTS");
+ jButton6.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton6ActionPerformed(evt);
+ }
+ });
+
+ jLabel2.setFont(new java.awt.Font("Times New Roman", 1, 16)); // NOI18N
+ jLabel2.setText("Options:");
+
+ jLabel3.setFont(new java.awt.Font("Times New Roman", 1, 16)); // NOI18N
+ jLabel3.setText("Choose Category:");
+
+ javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
+ getContentPane().setLayout(layout);
+ layout.setHorizontalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addGroup(layout.createSequentialGroup()
+ .addGap(38, 38, 38)
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
+ .addGroup(layout.createSequentialGroup()
+ .addComponent(jButton6, javax.swing.GroupLayout.PREFERRED_SIZE, 111, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 115, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jButton5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addGroup(layout.createSequentialGroup()
+ .addComponent(jButton4, javax.swing.GroupLayout.PREFERRED_SIZE, 109, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
+ .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 111, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
+ .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 111, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addContainerGap(132, Short.MAX_VALUE))
+ );
+ layout.setVerticalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(layout.createSequentialGroup()
+ .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(18, 18, 18)
+ .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 53, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
+ .addComponent(jButton2, javax.swing.GroupLayout.DEFAULT_SIZE, 42, Short.MAX_VALUE)
+ .addComponent(jButton1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(jButton4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 48, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
+ .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 40, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jButton5, javax.swing.GroupLayout.PREFERRED_SIZE, 42, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addComponent(jButton6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ .addGap(32, 32, 32))
+ );
+
+ pack();
+ }// //GEN-END:initComponents
+
+ private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton5ActionPerformed
+this.dispose();
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton5ActionPerformed
+
+ private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
+STL sl=new STL();
+this.dispose();
+sl.setVisible(true);
+
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton3ActionPerformed
+
+ private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton4ActionPerformed
+CQ ct=new CQ();
+this.dispose();
+ct.setVisible(true);
+
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton4ActionPerformed
+
+ private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton6ActionPerformed
+STR st=new STR();
+this.dispose();
+st.setVisible(true);
+
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton6ActionPerformed
+
+ private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton2ActionPerformed
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String args[]) {
+ /* Set the Nimbus look and feel */
+ //
+ /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
+ * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
+ */
+ try {
+ for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
+ if ("Nimbus".equals(info.getName())) {
+ javax.swing.UIManager.setLookAndFeel(info.getClassName());
+ break;
+ }
+ }
+ } catch (ClassNotFoundException ex) {
+ java.util.logging.Logger.getLogger(STM.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (InstantiationException ex) {
+ java.util.logging.Logger.getLogger(STM.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (IllegalAccessException ex) {
+ java.util.logging.Logger.getLogger(STM.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (javax.swing.UnsupportedLookAndFeelException ex) {
+ java.util.logging.Logger.getLogger(STM.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ }
+ //
+
+ /* Create and display the form */
+ java.awt.EventQueue.invokeLater(new Runnable() {
+ public void run() {
+ new STM().setVisible(true);
+ }
+ });
+ }
+
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JButton jButton1;
+ private javax.swing.JButton jButton2;
+ private javax.swing.JButton jButton3;
+ private javax.swing.JButton jButton4;
+ private javax.swing.JButton jButton5;
+ private javax.swing.JButton jButton6;
+ private javax.swing.JLabel jLabel1;
+ private javax.swing.JLabel jLabel2;
+ private javax.swing.JLabel jLabel3;
+ private javax.swing.JPanel jPanel1;
+ // End of variables declaration//GEN-END:variables
+}
\ No newline at end of file
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/STR.form b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/STR.form
new file mode 100644
index 0000000..e532c0e
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/STR.form
@@ -0,0 +1,222 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/STR.java b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/STR.java
new file mode 100644
index 0000000..8e6a45c
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/STR.java
@@ -0,0 +1,269 @@
+package LMS;
+import java.sql.*;
+import net.proteanit.sql.DbUtils;
+
+public class STR extends javax.swing.JFrame {
+
+ Connection con;
+ PreparedStatement pst;
+ ResultSet rs;String nme;
+ public STR() {
+ initComponents();
+ }
+
+
+ @SuppressWarnings("unchecked")
+ // //GEN-BEGIN:initComponents
+ private void initComponents() {
+
+ jPanel1 = new javax.swing.JPanel();
+ jLabel1 = new javax.swing.JLabel();
+ jPanel2 = new javax.swing.JPanel();
+ jButton2 = new javax.swing.JButton();
+ jScrollPane1 = new javax.swing.JScrollPane();
+ jTable1 = new javax.swing.JTable();
+ jTextField1 = new javax.swing.JTextField();
+ jLabel2 = new javax.swing.JLabel();
+ jButton3 = new javax.swing.JButton();
+ jButton4 = new javax.swing.JButton();
+ jButton1 = new javax.swing.JButton();
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
+
+ jPanel1.setBackground(new java.awt.Color(0, 153, 153));
+
+ jLabel1.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N
+ jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
+ jLabel1.setText("RESULTS");
+
+ javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
+ jPanel1.setLayout(jPanel1Layout);
+ jPanel1Layout.setHorizontalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addGap(96, 96, 96)
+ .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 330, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ );
+ jPanel1Layout.setVerticalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addGap(21, 21, 21)
+ .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 43, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(24, Short.MAX_VALUE))
+ );
+
+ jPanel2.setBackground(new java.awt.Color(204, 204, 204));
+
+ jButton2.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N
+ jButton2.setText("SHOW");
+ jButton2.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton2ActionPerformed(evt);
+ }
+ });
+
+ jTable1.setModel(new javax.swing.table.DefaultTableModel(
+ new Object [][] {
+ {null, null, null, null},
+ {null, null, null, null},
+ {null, null, null, null},
+ {null, null, null, null}
+ },
+ new String [] {
+ "Title 1", "Title 2", "Title 3", "Title 4"
+ }
+ ));
+ jScrollPane1.setViewportView(jTable1);
+
+ jLabel2.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N
+ jLabel2.setText("Enter Name :");
+
+ jButton3.setFont(new java.awt.Font("Times New Roman", 1, 14)); // NOI18N
+ jButton3.setText("OVER ALL RESULT");
+ jButton3.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton3ActionPerformed(evt);
+ }
+ });
+
+ jButton4.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N
+ jButton4.setText("Logout");
+ jButton4.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton4ActionPerformed(evt);
+ }
+ });
+
+ jButton1.setFont(new java.awt.Font("Times New Roman", 1, 18)); // NOI18N
+ jButton1.setText("Back");
+ jButton1.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton1ActionPerformed(evt);
+ }
+ });
+
+ javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
+ jPanel2.setLayout(jPanel2Layout);
+ jPanel2Layout.setHorizontalGroup(
+ jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
+ .addContainerGap(46, Short.MAX_VALUE)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
+ .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 115, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(18, 18, 18)
+ .addComponent(jButton4, javax.swing.GroupLayout.PREFERRED_SIZE, 104, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
+ .addComponent(jButton3)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 103, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 185, javax.swing.GroupLayout.PREFERRED_SIZE)))
+ .addGap(28, 28, 28)
+ .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 93, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(43, 43, 43)))
+ .addGap(53, 53, 53))
+ );
+ jPanel2Layout.setVerticalGroup(
+ jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addContainerGap()
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGap(18, 18, 18)
+ .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(18, 18, 18)
+ .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 314, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(19, 19, 19)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
+ .addComponent(jButton4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(jButton1, javax.swing.GroupLayout.DEFAULT_SIZE, 38, Short.MAX_VALUE))
+ .addContainerGap())
+ );
+
+ javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
+ getContentPane().setLayout(layout);
+ layout.setHorizontalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(jPanel2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ );
+ layout.setVerticalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(layout.createSequentialGroup()
+ .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(0, 42, Short.MAX_VALUE))
+ );
+
+ pack();
+ }// //GEN-END:initComponents
+
+ private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
+
+ try{
+ nme=jTextField1.getText();
+ Class.forName("com.mysql.jdbc.Driver");
+ String URL="jdbc:mysql://localhost:3306/lms";
+
+ con = DriverManager.getConnection(URL,"root","");
+ pst=con.prepareStatement("select * from review where name=?");
+ pst.setString(1, nme);
+ rs=pst.executeQuery();
+ jTable1.setModel(DbUtils.resultSetToTableModel(rs));
+}catch(ClassNotFoundException | SQLException ex){
+ System.out.print(ex);
+}
+
+
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton2ActionPerformed
+
+ private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
+try{
+Class.forName("com.mysql.jdbc.Driver");
+ String URL="jdbc:mysql://localhost:3306/lms";
+
+ con = DriverManager.getConnection(URL,"root","");
+ pst=con.prepareStatement("select *from result");
+ rs=pst.executeQuery();
+ jTable1.setModel(DbUtils.resultSetToTableModel(rs));
+
+
+
+
+}catch(Exception e){System.out.println(e);}
+
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton3ActionPerformed
+
+ private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton4ActionPerformed
+STL sl=new STL();
+this.dispose();
+sl.setVisible(true);
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton4ActionPerformed
+
+ private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
+ STM m=new STM();
+ this.dispose();
+ m.setVisible(true);
+ }//GEN-LAST:event_jButton1ActionPerformed
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String args[]) {
+ /* Set the Nimbus look and feel */
+ //
+ /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
+ * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
+ */
+ try {
+ for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
+ if ("Nimbus".equals(info.getName())) {
+ javax.swing.UIManager.setLookAndFeel(info.getClassName());
+ break;
+ }
+ }
+ } catch (ClassNotFoundException ex) {
+ java.util.logging.Logger.getLogger(STR.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (InstantiationException ex) {
+ java.util.logging.Logger.getLogger(STR.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (IllegalAccessException ex) {
+ java.util.logging.Logger.getLogger(STR.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (javax.swing.UnsupportedLookAndFeelException ex) {
+ java.util.logging.Logger.getLogger(STR.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ }
+ //
+
+ /* Create and display the form */
+ java.awt.EventQueue.invokeLater(new Runnable() {
+ public void run() {
+ new STR().setVisible(true);
+ }
+ });
+ }
+
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JButton jButton1;
+ private javax.swing.JButton jButton2;
+ private javax.swing.JButton jButton3;
+ private javax.swing.JButton jButton4;
+ private javax.swing.JLabel jLabel1;
+ private javax.swing.JLabel jLabel2;
+ private javax.swing.JPanel jPanel1;
+ private javax.swing.JPanel jPanel2;
+ private javax.swing.JScrollPane jScrollPane1;
+ private javax.swing.JTable jTable1;
+ private javax.swing.JTextField jTextField1;
+ // End of variables declaration//GEN-END:variables
+
+}
\ No newline at end of file
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/main.form b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/main.form
new file mode 100644
index 0000000..f750187
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/main.form
@@ -0,0 +1,147 @@
+
+
+
diff --git a/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/main.java b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/main.java
new file mode 100644
index 0000000..9b0d6c2
--- /dev/null
+++ b/Java/Other Programs/Learning Management System (Mini-Version)/src/LMS-Mini/main.java
@@ -0,0 +1,173 @@
+package LMS;
+
+public class main extends javax.swing.JFrame {
+
+ public main() {
+ initComponents();
+ }
+
+ @SuppressWarnings("unchecked")
+ // //GEN-BEGIN:initComponents
+ private void initComponents() {
+
+ jPanel1 = new javax.swing.JPanel();
+ jLabel1 = new javax.swing.JLabel();
+ jPanel2 = new javax.swing.JPanel();
+ jButton1 = new javax.swing.JButton();
+ jButton2 = new javax.swing.JButton();
+ jButton3 = new javax.swing.JButton();
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
+
+ jPanel1.setBackground(new java.awt.Color(0, 153, 153));
+
+ jLabel1.setFont(new java.awt.Font("Times New Roman", 1, 24)); // NOI18N
+ jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
+ jLabel1.setText("Choose View:");
+
+ javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
+ jPanel1.setLayout(jPanel1Layout);
+ jPanel1Layout.setHorizontalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
+ .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 158, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(177, 177, 177))
+ );
+ jPanel1Layout.setVerticalGroup(
+ jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel1Layout.createSequentialGroup()
+ .addGap(29, 29, 29)
+ .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 55, Short.MAX_VALUE)
+ .addContainerGap())
+ );
+
+ jButton1.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
+ jButton1.setText("STUDENT LOGIN");
+ jButton1.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton1ActionPerformed(evt);
+ }
+ });
+
+ jButton2.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
+ jButton2.setText("EXIT");
+ jButton2.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton2ActionPerformed(evt);
+ }
+ });
+
+ jButton3.setFont(new java.awt.Font("Times New Roman", 0, 18)); // NOI18N
+ jButton3.setText("ADMIN LOGIN");
+ jButton3.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ jButton3ActionPerformed(evt);
+ }
+ });
+
+ javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
+ jPanel2.setLayout(jPanel2Layout);
+ jPanel2Layout.setHorizontalGroup(
+ jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(jPanel2Layout.createSequentialGroup()
+ .addGap(91, 91, 91)
+ .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
+ .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 305, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 305, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 305, javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addContainerGap(95, Short.MAX_VALUE))
+ );
+ jPanel2Layout.setVerticalGroup(
+ jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
+ .addGap(12, 12, 12)
+ .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 47, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
+ .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 47, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
+ .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 47, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addContainerGap(37, Short.MAX_VALUE))
+ );
+
+ javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
+ getContentPane().setLayout(layout);
+ layout.setHorizontalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
+ );
+ layout.setVerticalGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(layout.createSequentialGroup()
+ .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
+ );
+
+ pack();
+ }// //GEN-END:initComponents
+
+ private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
+ AL AL=new AL();
+ this.hide();
+ AL.setVisible(true);
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton3ActionPerformed
+
+ private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
+ this.dispose();
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton2ActionPerformed
+
+ private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
+ STL sl=new STL();
+ this.dispose();
+ sl.setVisible(true);
+ // TODO add your handling code here:
+ }//GEN-LAST:event_jButton1ActionPerformed
+
+ /**
+ * @param args the command line arguments
+ */
+ public static void main(String args[]) {
+ /* Set the Nimbus look and feel */
+ //
+ /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
+ * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
+ */
+ try {
+ for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
+ if ("Nimbus".equals(info.getName())) {
+ javax.swing.UIManager.setLookAndFeel(info.getClassName());
+ break;
+ }
+ }
+ } catch (ClassNotFoundException ex) {
+ java.util.logging.Logger.getLogger(main.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (InstantiationException ex) {
+ java.util.logging.Logger.getLogger(main.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (IllegalAccessException ex) {
+ java.util.logging.Logger.getLogger(main.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ } catch (javax.swing.UnsupportedLookAndFeelException ex) {
+ java.util.logging.Logger.getLogger(main.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
+ }
+ //
+
+ /* Create and display the form */
+ java.awt.EventQueue.invokeLater(new Runnable() {
+ public void run() {
+ new main().setVisible(true);
+ }
+ });
+ }
+
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JButton jButton1;
+ private javax.swing.JButton jButton2;
+ private javax.swing.JButton jButton3;
+ private javax.swing.JLabel jLabel1;
+ private javax.swing.JPanel jPanel1;
+ private javax.swing.JPanel jPanel2;
+ // End of variables declaration//GEN-END:variables
+}
\ No newline at end of file