├── .gitattributes
├── README.md
├── UniversitiyManagementSystem
├── build.xml
├── build
│ ├── built-jar.properties
│ └── classes
│ │ ├── Design
│ │ ├── LoginForm.css
│ │ └── MainForm.css
│ │ ├── Student_Directory
│ │ ├── 20230007.jpg
│ │ ├── 20230008.jpg
│ │ ├── 20230009.jpg
│ │ ├── 20230010.jpg
│ │ ├── 20230011.jpg
│ │ ├── 20230012.jpg
│ │ ├── 20230013.jpg
│ │ └── 20230014.jpg
│ │ ├── Teacher_Directory
│ │ ├── TID-4.jpg
│ │ ├── TID-5.jpg
│ │ └── TID-6.jpg
│ │ └── universitiymanagementsystem
│ │ ├── AddStudent.fxml
│ │ ├── AddStudentController.class
│ │ ├── AdminMainForm.fxml
│ │ ├── AdminMainFormController.class
│ │ ├── AlertMessage.class
│ │ ├── CourseData.class
│ │ ├── DataStudentHandle.class
│ │ ├── DataSubjectHandle.class
│ │ ├── Database.class
│ │ ├── FXMLDocument.fxml
│ │ ├── FXMLDocumentController.class
│ │ ├── ListData.class
│ │ ├── SalaryData.class
│ │ ├── StudentData.class
│ │ ├── StudentMainForm.fxml
│ │ ├── StudentMainFormController.class
│ │ ├── SubjectData.class
│ │ ├── TeacherData.class
│ │ ├── TeacherMainForm.fxml
│ │ ├── TeacherMainFormController.class
│ │ └── UniversitiyManagementSystem.class
├── dist
│ ├── UniversitiyManagementSystem.html
│ ├── UniversitiyManagementSystem.jar
│ ├── UniversitiyManagementSystem.jnlp
│ ├── lib
│ │ ├── fontawesomefx-8.2.jar
│ │ ├── mysql-connector-java-5.1.48.jar
│ │ └── ojdbc14-10.2.0.2.0.jar
│ ├── run1591033287
│ │ ├── UniversitiyManagementSystem.html
│ │ ├── UniversitiyManagementSystem.jar
│ │ ├── UniversitiyManagementSystem.jnlp
│ │ ├── lib
│ │ │ ├── fontawesomefx-8.2.jar
│ │ │ ├── mysql-connector-java-5.1.48.jar
│ │ │ └── ojdbc14-10.2.0.2.0.jar
│ │ └── web-files
│ │ │ ├── dtjava.js
│ │ │ ├── error.png
│ │ │ ├── get_java.png
│ │ │ ├── get_javafx.png
│ │ │ ├── javafx-chrome.png
│ │ │ ├── javafx-loading-100x100.gif
│ │ │ ├── javafx-loading-25x25.gif
│ │ │ ├── upgrade_java.png
│ │ │ └── upgrade_javafx.png
│ ├── run166042978
│ │ ├── UniversitiyManagementSystem.html
│ │ ├── UniversitiyManagementSystem.jar
│ │ ├── UniversitiyManagementSystem.jnlp
│ │ ├── lib
│ │ │ ├── fontawesomefx-8.2.jar
│ │ │ ├── mysql-connector-java-5.1.48.jar
│ │ │ └── ojdbc14-10.2.0.2.0.jar
│ │ └── web-files
│ │ │ ├── dtjava.js
│ │ │ ├── error.png
│ │ │ ├── get_java.png
│ │ │ ├── get_javafx.png
│ │ │ ├── javafx-chrome.png
│ │ │ ├── javafx-loading-100x100.gif
│ │ │ ├── javafx-loading-25x25.gif
│ │ │ ├── upgrade_java.png
│ │ │ └── upgrade_javafx.png
│ ├── run1793906455
│ │ ├── UniversitiyManagementSystem.html
│ │ ├── UniversitiyManagementSystem.jar
│ │ ├── UniversitiyManagementSystem.jnlp
│ │ ├── lib
│ │ │ ├── fontawesomefx-8.2.jar
│ │ │ ├── mysql-connector-java-5.1.48.jar
│ │ │ └── ojdbc14-10.2.0.2.0.jar
│ │ └── web-files
│ │ │ ├── dtjava.js
│ │ │ ├── error.png
│ │ │ ├── get_java.png
│ │ │ ├── get_javafx.png
│ │ │ ├── javafx-chrome.png
│ │ │ ├── javafx-loading-100x100.gif
│ │ │ ├── javafx-loading-25x25.gif
│ │ │ ├── upgrade_java.png
│ │ │ └── upgrade_javafx.png
│ └── web-files
│ │ ├── dtjava.js
│ │ ├── error.png
│ │ ├── get_java.png
│ │ ├── get_javafx.png
│ │ ├── javafx-chrome.png
│ │ ├── javafx-loading-100x100.gif
│ │ ├── javafx-loading-25x25.gif
│ │ ├── upgrade_java.png
│ │ └── upgrade_javafx.png
├── manifest.mf
├── nbproject
│ ├── build-impl.xml
│ ├── configs
│ │ ├── Run_as_WebStart.properties
│ │ └── Run_in_Browser.properties
│ ├── genfiles.properties
│ ├── jfx-impl.xml
│ ├── private
│ │ ├── configs
│ │ │ ├── Run_as_WebStart.properties
│ │ │ └── Run_in_Browser.properties
│ │ ├── private.properties
│ │ └── private.xml
│ ├── project.properties
│ └── project.xml
└── src
│ ├── Design
│ ├── LoginForm.css
│ └── MainForm.css
│ ├── Student_Directory
│ ├── 20230007.jpg
│ ├── 20230008.jpg
│ ├── 20230009.jpg
│ ├── 20230010.jpg
│ ├── 20230011.jpg
│ ├── 20230012.jpg
│ ├── 20230013.jpg
│ └── 20230014.jpg
│ ├── Teacher_Directory
│ ├── TID-4.jpg
│ ├── TID-5.jpg
│ └── TID-6.jpg
│ └── universitiymanagementsystem
│ ├── AddStudent.fxml
│ ├── AddStudentController.java
│ ├── AdminMainForm.fxml
│ ├── AdminMainFormController.java
│ ├── AlertMessage.java
│ ├── CourseData.java
│ ├── DataStudentHandle.java
│ ├── DataSubjectHandle.java
│ ├── Database.java
│ ├── FXMLDocument.fxml
│ ├── FXMLDocumentController.java
│ ├── ListData.java
│ ├── SalaryData.java
│ ├── StudentData.java
│ ├── StudentMainForm.fxml
│ ├── StudentMainFormController.java
│ ├── SubjectData.java
│ ├── TeacherData.java
│ ├── TeacherMainForm.fxml
│ ├── TeacherMainFormController.java
│ └── UniversitiyManagementSystem.java
└── gitattributes
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # University Management System in JavaFX
2 |
3 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build.xml:
--------------------------------------------------------------------------------
1 |
2 | Builds, tests, and runs the project UniversitiyManagementSystem.
3 |
4 |
53 |
54 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/built-jar.properties:
--------------------------------------------------------------------------------
1 | #Wed, 09 Aug 2023 01:41:37 +0800
2 |
3 |
4 | C\:\\Users\\WINDOWS\ 10\\Documents\\NetBeansProjects\\UniversitiyManagementSystem=
5 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/Design/LoginForm.css:
--------------------------------------------------------------------------------
1 | /*
2 | To change this license header, choose License Headers in Project Properties.
3 | To change this template file, choose Tools | Templates
4 | and open the template in the editor.
5 | */
6 | /*
7 | Created on : 07 24, 23, 10:22:10 AM
8 | Author : WINDOWS 10
9 | */
10 |
11 | .bg-form{
12 | -fx-background-color: linear-gradient(to bottom right, #0d9642, #1a722c);
13 | }
14 |
15 | .header{
16 | -fx-border-color: linear-gradient(to bottom right, #0dbb78, #029d6f);
17 | -fx-border-width: 0 0 0 3px;
18 | -fx-padding: 0 0 0 5px;
19 | -fx-font-size: 20px;
20 | }
21 |
22 | .textfield{
23 | -fx-background-color: transparent;
24 | -fx-padding: 0 0 0 25px;
25 | -fx-border-color: linear-gradient(to bottom right, #0abfa4, #00d079);
26 | -fx-border-width: .8px;
27 | -fx-text-fill: #fff;
28 | -fx-font-size: 14px;
29 | }
30 | .textfield:focused{
31 | -fx-background-color: #fff;
32 | -fx-text-fill: #000;
33 | -fx-border-width: 1px;
34 | }
35 |
36 | .btn{
37 | -fx-background-color: linear-gradient(to bottom right, #0abfa4, #00d079);
38 | -fx-font-family: Arial;
39 | -fx-font-size: 14px;
40 | -fx-cursor: hand;
41 | }
42 | .btn:hover{
43 | -fx-background-color: #fff;
44 | }
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/Design/MainForm.css:
--------------------------------------------------------------------------------
1 | /*
2 | To change this license header, choose License Headers in Project Properties.
3 | To change this template file, choose Tools | Templates
4 | and open the template in the editor.
5 | */
6 | /*
7 | Created on : 07 24, 23, 3:16:35 PM
8 | Author : WINDOWS 10
9 | */
10 |
11 | .close{
12 | -fx-background-color: #ff2929;
13 | -fx-background-radius: 50px;
14 | -fx-cursor: hand;
15 | }
16 | .close:hover{
17 | -fx-background-color: #000;
18 | }
19 |
20 | .white-bg{
21 | -fx-background-color: #fff;
22 | }
23 |
24 | .radius{
25 | -fx-background-radius: 8px;
26 | }
27 |
28 | .shadow{
29 | -fx-effect: dropshadow(three-pass-box, rgba(0,0,0,0.5), 5,0,0,0);
30 | }
31 |
32 | .main-bg{
33 | -fx-background-color: linear-gradient(to bottom right, #0d9642, #1a722c);
34 | }
35 |
36 | .btn{
37 | -fx-background-color: linear-gradient(to bottom right, #0d9642, #1a722c);
38 | -fx-font-family: Arial;
39 | -fx-font-size: 14px;
40 | -fx-cursor: hand;
41 | -fx-text-fill: #fff;
42 | }
43 | .btn:hover{
44 | -fx-background-color: linear-gradient(to bottom right, #0abfa4, #00d079);
45 | }
46 |
47 | .nav-btn{
48 | -fx-background-color: transparent;
49 | -fx-cursor: hand;
50 | -fx-border-color: #fff;
51 | -fx-border-width: .8px;
52 | -fx-text-fill: #fff;
53 | }
54 | .nav-btn:hover{
55 | -fx-background-color: #0abfa4;
56 | -fx-border-color: #0abfa4;
57 | }
58 |
59 | .table-view{
60 | -fx-background-color: transparent;
61 | -fx-padding: 0;
62 | -fx-border-color: linear-gradient(to bottom right, #0d9642, #1a722c);
63 | -fx-border-radius: 8px;
64 | }
65 | .table-view .column-header-background{
66 | -fx-background-color: linear-gradient(to bottom right, #0d9642, #1a722c);
67 | -fx-background-radius: 8px 8px 0 0;
68 | -fx-background-insets: 0 0 0 0;
69 | }
70 | .table-view .column-header, .filter{
71 | -fx-background-color: transparent;
72 | -fx-size: 40px;
73 | }
74 | .table-view .column-header .label{
75 |
76 | -fx-text-fill: #fff;
77 | }
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/Student_Directory/20230007.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/Student_Directory/20230007.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/Student_Directory/20230008.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/Student_Directory/20230008.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/Student_Directory/20230009.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/Student_Directory/20230009.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/Student_Directory/20230010.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/Student_Directory/20230010.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/Student_Directory/20230011.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/Student_Directory/20230011.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/Student_Directory/20230012.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/Student_Directory/20230012.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/Student_Directory/20230013.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/Student_Directory/20230013.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/Student_Directory/20230014.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/Student_Directory/20230014.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/Teacher_Directory/TID-4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/Teacher_Directory/TID-4.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/Teacher_Directory/TID-5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/Teacher_Directory/TID-5.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/Teacher_Directory/TID-6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/Teacher_Directory/TID-6.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/AddStudent.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/AddStudentController.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/AddStudentController.class
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/AdminMainFormController.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/AdminMainFormController.class
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/AlertMessage.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/AlertMessage.class
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/CourseData.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/CourseData.class
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/DataStudentHandle.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/DataStudentHandle.class
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/DataSubjectHandle.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/DataSubjectHandle.class
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/Database.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/Database.class
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/FXMLDocument.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
54 |
55 |
56 |
57 |
58 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
79 |
80 |
81 |
82 |
83 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
104 |
105 |
106 |
107 |
108 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/FXMLDocumentController.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/FXMLDocumentController.class
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/ListData.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/ListData.class
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/SalaryData.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/SalaryData.class
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/StudentData.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/StudentData.class
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/StudentMainForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
52 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/StudentMainFormController.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/StudentMainFormController.class
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/SubjectData.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/SubjectData.class
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/TeacherData.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/TeacherData.class
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/TeacherMainForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
29 |
34 |
39 |
40 |
41 |
46 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/TeacherMainFormController.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/TeacherMainFormController.class
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/UniversitiyManagementSystem.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/build/classes/universitiymanagementsystem/UniversitiyManagementSystem.class
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/UniversitiyManagementSystem.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
17 |
18 |
38 |
39 |
40 | Test page for UniversitiyManagementSystem
41 | Webstart: click to launch this app as webstart
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/UniversitiyManagementSystem.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/UniversitiyManagementSystem.jar
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/UniversitiyManagementSystem.jnlp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | UniversitiyManagementSystem
5 | WINDOWS 10
6 | null
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/lib/fontawesomefx-8.2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/lib/fontawesomefx-8.2.jar
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/lib/mysql-connector-java-5.1.48.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/lib/mysql-connector-java-5.1.48.jar
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/lib/ojdbc14-10.2.0.2.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/lib/ojdbc14-10.2.0.2.0.jar
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1591033287/UniversitiyManagementSystem.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
17 |
18 |
38 |
39 |
40 | Test page for UniversitiyManagementSystem
41 | Webstart: click to launch this app as webstart
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1591033287/UniversitiyManagementSystem.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1591033287/UniversitiyManagementSystem.jar
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1591033287/UniversitiyManagementSystem.jnlp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | UniversitiyManagementSystem
5 | WINDOWS 10
6 | null
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1591033287/lib/fontawesomefx-8.2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1591033287/lib/fontawesomefx-8.2.jar
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1591033287/lib/mysql-connector-java-5.1.48.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1591033287/lib/mysql-connector-java-5.1.48.jar
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1591033287/lib/ojdbc14-10.2.0.2.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1591033287/lib/ojdbc14-10.2.0.2.0.jar
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1591033287/web-files/error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1591033287/web-files/error.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1591033287/web-files/get_java.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1591033287/web-files/get_java.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1591033287/web-files/get_javafx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1591033287/web-files/get_javafx.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1591033287/web-files/javafx-chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1591033287/web-files/javafx-chrome.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1591033287/web-files/javafx-loading-100x100.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1591033287/web-files/javafx-loading-100x100.gif
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1591033287/web-files/javafx-loading-25x25.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1591033287/web-files/javafx-loading-25x25.gif
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1591033287/web-files/upgrade_java.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1591033287/web-files/upgrade_java.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1591033287/web-files/upgrade_javafx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1591033287/web-files/upgrade_javafx.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run166042978/UniversitiyManagementSystem.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
17 |
18 |
38 |
39 |
40 | Test page for UniversitiyManagementSystem
41 | Webstart: click to launch this app as webstart
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run166042978/UniversitiyManagementSystem.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run166042978/UniversitiyManagementSystem.jar
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run166042978/UniversitiyManagementSystem.jnlp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | UniversitiyManagementSystem
5 | WINDOWS 10
6 | null
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run166042978/lib/fontawesomefx-8.2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run166042978/lib/fontawesomefx-8.2.jar
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run166042978/lib/mysql-connector-java-5.1.48.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run166042978/lib/mysql-connector-java-5.1.48.jar
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run166042978/lib/ojdbc14-10.2.0.2.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run166042978/lib/ojdbc14-10.2.0.2.0.jar
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run166042978/web-files/error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run166042978/web-files/error.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run166042978/web-files/get_java.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run166042978/web-files/get_java.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run166042978/web-files/get_javafx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run166042978/web-files/get_javafx.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run166042978/web-files/javafx-chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run166042978/web-files/javafx-chrome.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run166042978/web-files/javafx-loading-100x100.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run166042978/web-files/javafx-loading-100x100.gif
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run166042978/web-files/javafx-loading-25x25.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run166042978/web-files/javafx-loading-25x25.gif
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run166042978/web-files/upgrade_java.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run166042978/web-files/upgrade_java.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run166042978/web-files/upgrade_javafx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run166042978/web-files/upgrade_javafx.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1793906455/UniversitiyManagementSystem.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
17 |
18 |
38 |
39 |
40 | Test page for UniversitiyManagementSystem
41 | Webstart: click to launch this app as webstart
42 |
43 |
44 |
45 |
46 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1793906455/UniversitiyManagementSystem.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1793906455/UniversitiyManagementSystem.jar
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1793906455/UniversitiyManagementSystem.jnlp:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | UniversitiyManagementSystem
5 | WINDOWS 10
6 | null
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1793906455/lib/fontawesomefx-8.2.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1793906455/lib/fontawesomefx-8.2.jar
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1793906455/lib/mysql-connector-java-5.1.48.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1793906455/lib/mysql-connector-java-5.1.48.jar
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1793906455/lib/ojdbc14-10.2.0.2.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1793906455/lib/ojdbc14-10.2.0.2.0.jar
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1793906455/web-files/error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1793906455/web-files/error.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1793906455/web-files/get_java.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1793906455/web-files/get_java.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1793906455/web-files/get_javafx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1793906455/web-files/get_javafx.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1793906455/web-files/javafx-chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1793906455/web-files/javafx-chrome.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1793906455/web-files/javafx-loading-100x100.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1793906455/web-files/javafx-loading-100x100.gif
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1793906455/web-files/javafx-loading-25x25.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1793906455/web-files/javafx-loading-25x25.gif
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1793906455/web-files/upgrade_java.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1793906455/web-files/upgrade_java.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/run1793906455/web-files/upgrade_javafx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/run1793906455/web-files/upgrade_javafx.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/web-files/error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/web-files/error.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/web-files/get_java.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/web-files/get_java.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/web-files/get_javafx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/web-files/get_javafx.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/web-files/javafx-chrome.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/web-files/javafx-chrome.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/web-files/javafx-loading-100x100.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/web-files/javafx-loading-100x100.gif
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/web-files/javafx-loading-25x25.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/web-files/javafx-loading-25x25.gif
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/web-files/upgrade_java.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/web-files/upgrade_java.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/dist/web-files/upgrade_javafx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/dist/web-files/upgrade_javafx.png
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/manifest.mf:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | X-COMMENT: Main-Class will be added automatically by build
3 |
4 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/nbproject/configs/Run_as_WebStart.properties:
--------------------------------------------------------------------------------
1 | # Do not modify this property in this configuration. It can be re-generated.
2 | $label=Run as WebStart
3 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/nbproject/configs/Run_in_Browser.properties:
--------------------------------------------------------------------------------
1 | # Do not modify this property in this configuration. It can be re-generated.
2 | $label=Run in Browser
3 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/nbproject/genfiles.properties:
--------------------------------------------------------------------------------
1 | build.xml.data.CRC32=fa7fd700
2 | build.xml.script.CRC32=61f4b25d
3 | build.xml.stylesheet.CRC32=8064a381@1.80.1.48
4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6 | nbproject/build-impl.xml.data.CRC32=fa7fd700
7 | nbproject/build-impl.xml.script.CRC32=d29ee3c1
8 | nbproject/build-impl.xml.stylesheet.CRC32=830a3534@1.80.1.48
9 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/nbproject/private/configs/Run_as_WebStart.properties:
--------------------------------------------------------------------------------
1 | # Do not modify this property in this configuration. It can be re-generated.
2 | javafx.run.as=webstart
3 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/nbproject/private/configs/Run_in_Browser.properties:
--------------------------------------------------------------------------------
1 | # Do not modify this property in this configuration. It can be re-generated.
2 | javafx.run.as=embedded
3 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/nbproject/private/private.properties:
--------------------------------------------------------------------------------
1 | auxiliary.org-netbeans-modules-projectapi.issue214819_5f_fx_5f_enabled=true
2 | # No need to modify this property unless customizing JavaFX Ant task infrastructure
3 | endorsed.javafx.ant.classpath=.
4 | javafx.run.inbrowser=
5 | javafx.run.inbrowser.path=C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE
6 | user.properties.file=C:\\Users\\WINDOWS 10\\AppData\\Roaming\\NetBeans\\8.2\\build.properties
7 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/nbproject/private/private.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | file:/C:/Users/WINDOWS%2010/Documents/NetBeansProjects/UniversitiyManagementSystem/src/universitiymanagementsystem/ListData.java
7 | file:/C:/Users/WINDOWS%2010/Documents/NetBeansProjects/UniversitiyManagementSystem/src/universitiymanagementsystem/DataStudentHandle.java
8 | file:/C:/Users/WINDOWS%2010/Documents/NetBeansProjects/UniversitiyManagementSystem/src/universitiymanagementsystem/TeacherData.java
9 | file:/C:/Users/WINDOWS%2010/Documents/NetBeansProjects/UniversitiyManagementSystem/src/universitiymanagementsystem/TeacherMainFormController.java
10 | file:/C:/Users/WINDOWS%2010/Documents/NetBeansProjects/UniversitiyManagementSystem/src/universitiymanagementsystem/FXMLDocumentController.java
11 | file:/C:/Users/WINDOWS%2010/Documents/NetBeansProjects/UniversitiyManagementSystem/src/universitiymanagementsystem/StudentMainFormController.java
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/nbproject/project.properties:
--------------------------------------------------------------------------------
1 | annotation.processing.enabled=true
2 | annotation.processing.enabled.in.editor=false
3 | annotation.processing.processor.options=
4 | annotation.processing.processors.list=
5 | annotation.processing.run.all.processors=true
6 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
7 | application.title=UniversitiyManagementSystem
8 | application.vendor=WINDOWS 10
9 | build.classes.dir=${build.dir}/classes
10 | build.classes.excludes=**/*.java,**/*.form
11 | # This directory is removed when the project is cleaned:
12 | build.dir=build
13 | build.generated.dir=${build.dir}/generated
14 | build.generated.sources.dir=${build.dir}/generated-sources
15 | # Only compile against the classpath explicitly listed here:
16 | build.sysclasspath=ignore
17 | build.test.classes.dir=${build.dir}/test/classes
18 | build.test.results.dir=${build.dir}/test/results
19 | compile.on.save=true
20 | compile.on.save.unsupported.javafx=true
21 | # Uncomment to specify the preferred debugger connection transport:
22 | #debug.transport=dt_socket
23 | debug.classpath=\
24 | ${run.classpath}
25 | debug.test.classpath=\
26 | ${run.test.classpath}
27 | # This directory is removed when the project is cleaned:
28 | dist.dir=dist
29 | dist.jar=${dist.dir}/UniversitiyManagementSystem.jar
30 | dist.javadoc.dir=${dist.dir}/javadoc
31 | endorsed.classpath=
32 | excludes=
33 | file.reference.fontawesomefx-8.2.jar=D:\\jar files\\New folder\\fontawesomefx-8.2.jar
34 | file.reference.mysql-connector-java-5.1.48.jar=D:\\jar files\\New folder\\mysql-connector-java-5.1.48.jar
35 | file.reference.ojdbc14-10.2.0.2.0.jar=D:\\jar files\\New folder\\ojdbc14-10.2.0.2.0.jar
36 | includes=**
37 | # Non-JavaFX jar file creation is deactivated in JavaFX 2.0+ projects
38 | jar.archive.disabled=true
39 | jar.compress=false
40 | javac.classpath=\
41 | ${javafx.classpath.extension}:\
42 | ${file.reference.fontawesomefx-8.2.jar}:\
43 | ${file.reference.mysql-connector-java-5.1.48.jar}:\
44 | ${file.reference.ojdbc14-10.2.0.2.0.jar}
45 | # Space-separated list of extra javac options
46 | javac.compilerargs=
47 | javac.deprecation=false
48 | javac.processorpath=\
49 | ${javac.classpath}
50 | javac.source=1.8
51 | javac.target=1.8
52 | javac.test.classpath=\
53 | ${javac.classpath}:\
54 | ${build.classes.dir}
55 | javac.test.processorpath=\
56 | ${javac.test.classpath}
57 | javadoc.additionalparam=
58 | javadoc.author=false
59 | javadoc.encoding=${source.encoding}
60 | javadoc.noindex=false
61 | javadoc.nonavbar=false
62 | javadoc.notree=false
63 | javadoc.private=false
64 | javadoc.splitindex=true
65 | javadoc.use=true
66 | javadoc.version=false
67 | javadoc.windowtitle=
68 | javafx.application.implementation.version=1.0
69 | javafx.binarycss=false
70 | javafx.classpath.extension=\
71 | ${java.home}/lib/javaws.jar:\
72 | ${java.home}/lib/deploy.jar:\
73 | ${java.home}/lib/plugin.jar
74 | javafx.deploy.allowoffline=true
75 | # If true, application update mode is set to 'background', if false, update mode is set to 'eager'
76 | javafx.deploy.backgroundupdate=false
77 | javafx.deploy.embedJNLP=true
78 | javafx.deploy.includeDT=true
79 | # Set true to prevent creation of temporary copy of deployment artifacts before each run (disables concurrent runs)
80 | javafx.disable.concurrent.runs=false
81 | # Set true to enable multiple concurrent runs of the same WebStart or Run-in-Browser project
82 | javafx.enable.concurrent.external.runs=false
83 | # This is a JavaFX project
84 | javafx.enabled=true
85 | javafx.fallback.class=com.javafx.main.NoJavaFXFallback
86 | # Main class for JavaFX
87 | javafx.main.class=universitiymanagementsystem.UniversitiyManagementSystem
88 | javafx.preloader.class=
89 | # This project does not use Preloader
90 | javafx.preloader.enabled=false
91 | javafx.preloader.jar.filename=
92 | javafx.preloader.jar.path=
93 | javafx.preloader.project.path=
94 | javafx.preloader.type=none
95 | # Set true for GlassFish only. Rebases manifest classpaths of JARs in lib dir. Not usable with signed JARs.
96 | javafx.rebase.libs=false
97 | javafx.run.height=600
98 | javafx.run.width=800
99 | # Pre-JavaFX 2.0 WebStart is deactivated in JavaFX 2.0+ projects
100 | jnlp.enabled=false
101 | # Main class for Java launcher
102 | main.class=com.javafx.main.Main
103 | # For improved security specify narrower Codebase manifest attribute to prevent RIAs from being repurposed
104 | manifest.custom.codebase=*
105 | # Specify Permissions manifest attribute to override default (choices: sandbox, all-permissions)
106 | manifest.custom.permissions=
107 | manifest.file=manifest.mf
108 | meta.inf.dir=${src.dir}/META-INF
109 | platform.active=default_platform
110 | run.classpath=\
111 | ${dist.jar}:\
112 | ${javac.classpath}:\
113 | ${build.classes.dir}
114 | run.test.classpath=\
115 | ${javac.test.classpath}:\
116 | ${build.test.classes.dir}
117 | source.encoding=UTF-8
118 | src.dir=src
119 | test.src.dir=test
120 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/nbproject/project.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.netbeans.modules.java.j2seproject
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | UniversitiyManagementSystem
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/Design/LoginForm.css:
--------------------------------------------------------------------------------
1 | /*
2 | To change this license header, choose License Headers in Project Properties.
3 | To change this template file, choose Tools | Templates
4 | and open the template in the editor.
5 | */
6 | /*
7 | Created on : 07 24, 23, 10:22:10 AM
8 | Author : WINDOWS 10
9 | */
10 |
11 | .bg-form{
12 | -fx-background-color: linear-gradient(to bottom right, #0d9642, #1a722c);
13 | }
14 |
15 | .header{
16 | -fx-border-color: linear-gradient(to bottom right, #0dbb78, #029d6f);
17 | -fx-border-width: 0 0 0 3px;
18 | -fx-padding: 0 0 0 5px;
19 | -fx-font-size: 20px;
20 | }
21 |
22 | .textfield{
23 | -fx-background-color: transparent;
24 | -fx-padding: 0 0 0 25px;
25 | -fx-border-color: linear-gradient(to bottom right, #0abfa4, #00d079);
26 | -fx-border-width: .8px;
27 | -fx-text-fill: #fff;
28 | -fx-font-size: 14px;
29 | }
30 | .textfield:focused{
31 | -fx-background-color: #fff;
32 | -fx-text-fill: #000;
33 | -fx-border-width: 1px;
34 | }
35 |
36 | .btn{
37 | -fx-background-color: linear-gradient(to bottom right, #0abfa4, #00d079);
38 | -fx-font-family: Arial;
39 | -fx-font-size: 14px;
40 | -fx-cursor: hand;
41 | }
42 | .btn:hover{
43 | -fx-background-color: #fff;
44 | }
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/Design/MainForm.css:
--------------------------------------------------------------------------------
1 | /*
2 | To change this license header, choose License Headers in Project Properties.
3 | To change this template file, choose Tools | Templates
4 | and open the template in the editor.
5 | */
6 | /*
7 | Created on : 07 24, 23, 3:16:35 PM
8 | Author : WINDOWS 10
9 | */
10 |
11 | .close{
12 | -fx-background-color: #ff2929;
13 | -fx-background-radius: 50px;
14 | -fx-cursor: hand;
15 | }
16 | .close:hover{
17 | -fx-background-color: #000;
18 | }
19 |
20 | .white-bg{
21 | -fx-background-color: #fff;
22 | }
23 |
24 | .radius{
25 | -fx-background-radius: 8px;
26 | }
27 |
28 | .shadow{
29 | -fx-effect: dropshadow(three-pass-box, rgba(0,0,0,0.5), 5,0,0,0);
30 | }
31 |
32 | .main-bg{
33 | -fx-background-color: linear-gradient(to bottom right, #0d9642, #1a722c);
34 | }
35 |
36 | .btn{
37 | -fx-background-color: linear-gradient(to bottom right, #0d9642, #1a722c);
38 | -fx-font-family: Arial;
39 | -fx-font-size: 14px;
40 | -fx-cursor: hand;
41 | -fx-text-fill: #fff;
42 | }
43 | .btn:hover{
44 | -fx-background-color: linear-gradient(to bottom right, #0abfa4, #00d079);
45 | }
46 |
47 | .nav-btn{
48 | -fx-background-color: transparent;
49 | -fx-cursor: hand;
50 | -fx-border-color: #fff;
51 | -fx-border-width: .8px;
52 | -fx-text-fill: #fff;
53 | }
54 | .nav-btn:hover{
55 | -fx-background-color: #0abfa4;
56 | -fx-border-color: #0abfa4;
57 | }
58 |
59 | .table-view{
60 | -fx-background-color: transparent;
61 | -fx-padding: 0;
62 | -fx-border-color: linear-gradient(to bottom right, #0d9642, #1a722c);
63 | -fx-border-radius: 8px;
64 | }
65 | .table-view .column-header-background{
66 | -fx-background-color: linear-gradient(to bottom right, #0d9642, #1a722c);
67 | -fx-background-radius: 8px 8px 0 0;
68 | -fx-background-insets: 0 0 0 0;
69 | }
70 | .table-view .column-header, .filter{
71 | -fx-background-color: transparent;
72 | -fx-size: 40px;
73 | }
74 | .table-view .column-header .label{
75 |
76 | -fx-text-fill: #fff;
77 | }
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/Student_Directory/20230007.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/src/Student_Directory/20230007.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/Student_Directory/20230008.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/src/Student_Directory/20230008.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/Student_Directory/20230009.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/src/Student_Directory/20230009.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/Student_Directory/20230010.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/src/Student_Directory/20230010.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/Student_Directory/20230011.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/src/Student_Directory/20230011.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/Student_Directory/20230012.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/src/Student_Directory/20230012.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/Student_Directory/20230013.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/src/Student_Directory/20230013.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/Student_Directory/20230014.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/src/Student_Directory/20230014.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/Teacher_Directory/TID-4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/src/Teacher_Directory/TID-4.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/Teacher_Directory/TID-5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/src/Teacher_Directory/TID-5.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/Teacher_Directory/TID-6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/marcoman2/University-Management-System-in-JavaFX/7a0e6685fb0d906320616df962823e1e1e3a4b57/UniversitiyManagementSystem/src/Teacher_Directory/TID-6.jpg
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/universitiymanagementsystem/AddStudent.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/universitiymanagementsystem/AddStudentController.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package universitiymanagementsystem;
7 |
8 | import java.io.File;
9 | import java.net.URL;
10 | import java.nio.file.Files;
11 | import java.nio.file.Path;
12 | import java.nio.file.Paths;
13 | import java.nio.file.StandardCopyOption;
14 | import java.sql.Connection;
15 | import java.sql.PreparedStatement;
16 | import java.sql.ResultSet;
17 | import java.text.SimpleDateFormat;
18 | import java.time.LocalDate;
19 | import java.time.Period;
20 | import java.util.ArrayList;
21 | import java.util.Date;
22 | import java.util.List;
23 | import java.util.ResourceBundle;
24 | import javafx.collections.FXCollections;
25 | import javafx.collections.ObservableList;
26 | import javafx.fxml.FXML;
27 | import javafx.fxml.Initializable;
28 | import javafx.scene.control.Button;
29 | import javafx.scene.control.ComboBox;
30 | import javafx.scene.control.DatePicker;
31 | import javafx.scene.control.Label;
32 | import javafx.scene.control.TextField;
33 | import javafx.scene.image.Image;
34 | import javafx.scene.image.ImageView;
35 | import javafx.scene.layout.AnchorPane;
36 | import javafx.stage.FileChooser;
37 | import javafx.stage.FileChooser.ExtensionFilter;
38 |
39 | /**
40 | *
41 | * @author WINDOWS 10
42 | */
43 | public class AddStudentController implements Initializable {
44 |
45 | @FXML
46 | private AnchorPane main_form;
47 |
48 | @FXML
49 | private TextField student_number;
50 |
51 | @FXML
52 | private TextField student_name;
53 |
54 | @FXML
55 | private DatePicker student_birthDate;
56 |
57 | @FXML
58 | private ComboBox student_year;
59 |
60 | @FXML
61 | private ComboBox student_course;
62 |
63 | @FXML
64 | private ComboBox student_section;
65 |
66 | @FXML
67 | private TextField student_pay;
68 |
69 | @FXML
70 | private ComboBox student_payment;
71 |
72 | @FXML
73 | private ImageView student_imageView;
74 |
75 | @FXML
76 | private Button student_importBtn;
77 |
78 | @FXML
79 | private Button student_addBtn;
80 |
81 | @FXML
82 | private Button student_updateBtn;
83 |
84 | @FXML
85 | private ComboBox student_status;
86 |
87 | @FXML
88 | private Label student_price;
89 |
90 | @FXML
91 | private ComboBox student_semester;
92 |
93 | @FXML
94 | private ComboBox student_gender;
95 |
96 | private Connection connect;
97 | private PreparedStatement prepare;
98 | private ResultSet result;
99 |
100 | private AlertMessage alert = new AlertMessage();
101 |
102 | private Image image;
103 |
104 | public void addBtn() {
105 |
106 | if (student_number.getText().isEmpty()
107 | || student_name.getText().isEmpty()
108 | || student_year.getSelectionModel().getSelectedItem().isEmpty()
109 | || student_course.getSelectionModel().getSelectedItem().isEmpty()
110 | || student_section.getSelectionModel().getSelectedItem().isEmpty()
111 | || student_pay.getText().isEmpty()
112 | || student_payment.getSelectionModel().getSelectedItem().isEmpty()
113 | || student_status.getSelectionModel().getSelectedItem().isEmpty()
114 | || ListData.path == null || "".equals(ListData.path)
115 | || student_birthDate.getValue() == null
116 | || student_semester.getSelectionModel().getSelectedItem().isEmpty()
117 | || student_gender.getSelectionModel().getSelectedItem().isEmpty()) {
118 | alert.errorMessage("Please fill all blank fields.");
119 | } else {
120 | connect = Database.connectDB();
121 |
122 | String checkStudentNum = "SELECT * FROM student WHERE student_id = '"
123 | + student_number.getText() + "'";
124 |
125 | try {
126 | prepare = connect.prepareStatement(checkStudentNum);
127 | result = prepare.executeQuery();
128 |
129 | if (result.next()) {
130 | alert.errorMessage("Student Number: " + student_number.getText() + " is already taken");
131 | } else {
132 | String insertData = "INSERT INTO student "
133 | + "(student_id, full_name, gender, birth_date, year, age, course, section, semester, payment"
134 | + ", status_payment, image, date_insert, status) "
135 | + "VALUES(?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
136 | prepare = connect.prepareStatement(insertData);
137 | prepare.setString(1, student_number.getText());
138 | prepare.setString(2, student_name.getText());
139 | prepare.setString(3, student_gender.getSelectionModel().getSelectedItem());
140 | prepare.setString(4, String.valueOf(student_birthDate.getValue()));
141 | prepare.setString(5, student_year.getSelectionModel().getSelectedItem());
142 | prepare.setString(6, String.valueOf(getAge));
143 | prepare.setString(7, student_course.getSelectionModel().getSelectedItem());
144 | prepare.setString(8, student_section.getSelectionModel().getSelectedItem());
145 | prepare.setString(9, student_semester.getSelectionModel().getSelectedItem());
146 | prepare.setString(10, String.valueOf(price));
147 | prepare.setString(11, student_payment.getSelectionModel().getSelectedItem());
148 |
149 | String path = ListData.path;
150 | path = path.replace("\\", "\\\\");
151 |
152 | prepare.setString(12, path);
153 |
154 | // C:\Users\WINDOWS 10\Documents\NetBeansProjects\UniversitiyManagementSystem\src\Student_Directory
155 | Date date = new Date();
156 | java.sql.Date sqlDate = new java.sql.Date(date.getTime());
157 |
158 | prepare.setString(13, String.valueOf(sqlDate));
159 | prepare.setString(14, student_status.getSelectionModel().getSelectedItem());
160 |
161 | prepare.executeUpdate();
162 |
163 | Path transfer = Paths.get(path);
164 | Path copy = Paths.get("C:\\Users\\WINDOWS 10\\Documents\\NetBeansProjects\\UniversitiyManagementSystem\\src\\Student_Directory\\"
165 | + student_number.getText() + ".jpg");
166 |
167 | Files.copy(transfer, copy, StandardCopyOption.REPLACE_EXISTING);
168 |
169 | alert.successMessage("Added Successfully!");
170 |
171 | clearFields();
172 | }
173 | } catch (Exception e) {
174 | e.printStackTrace();
175 | }
176 |
177 | }
178 | }
179 |
180 | public void updateBtn() {
181 |
182 | if (student_number.getText().isEmpty()
183 | || student_name.getText().isEmpty()
184 | || student_year.getSelectionModel().getSelectedItem().isEmpty()
185 | || student_course.getSelectionModel().getSelectedItem().isEmpty()
186 | || student_section.getSelectionModel().getSelectedItem().isEmpty()
187 | || student_pay.getText().isEmpty()
188 | || student_payment.getSelectionModel().getSelectedItem().isEmpty()
189 | || student_status.getSelectionModel().getSelectedItem().isEmpty()
190 | || ListData.path == null || "".equals(ListData.path)
191 | || student_birthDate.getValue() == null
192 | || student_semester.getSelectionModel().getSelectedItem().isEmpty()
193 | || student_gender.getSelectionModel().getSelectedItem().isEmpty()) {
194 | alert.errorMessage("Please fill all blank fields.");
195 | } else {
196 | Date date = new Date();
197 | java.sql.Date sqlDate = new java.sql.Date(date.getTime());
198 |
199 | String path = ListData.path;
200 | path = path.replace("\\", "\\\\");
201 | priceList();
202 | if (alert.confirmMessage("Are you sure you want to Update Student ID: "
203 | + student_number.getText())) {
204 | String updateData = "UPDATE student SET "
205 | + "full_name = '"
206 | + student_name.getText() + "', birth_date = '"
207 | + student_birthDate.getValue() + "', age = '"
208 | + getAge + "', year = '"
209 | + student_year.getSelectionModel().getSelectedItem() + "', gender = '"
210 | + student_gender.getSelectionModel().getSelectedItem() + "', course = '"
211 | + student_course.getSelectionModel().getSelectedItem() + "', semester = '"
212 | + student_semester.getSelectionModel().getSelectedItem() + "', section = '"
213 | + student_section.getSelectionModel().getSelectedItem() + "', payment = '"
214 | + price + "', status_payment = '"
215 | + student_payment.getSelectionModel().getSelectedItem() + "', image = '"
216 | + path + "', date_update = '"
217 | + String.valueOf(sqlDate) + "', status = '"
218 | + student_status.getSelectionModel().getSelectedItem()
219 | + "' WHERE student_id = '" + student_number.getText() + "'";
220 |
221 | try {
222 |
223 | Path transfer = Paths.get(path);
224 | Path copy = Paths.get("C:\\Users\\WINDOWS 10\\Documents\\NetBeansProjects\\UniversitiyManagementSystem\\src\\Student_Directory\\"
225 | + student_number.getText() + ".jpg");
226 |
227 | Files.copy(transfer, copy, StandardCopyOption.REPLACE_EXISTING);
228 |
229 | prepare = connect.prepareStatement(updateData);
230 | prepare.executeUpdate();
231 |
232 | alert.successMessage("Updated Successfully!");
233 |
234 | } catch (Exception e) {
235 | e.printStackTrace();
236 | }
237 |
238 | } else {
239 | alert.errorMessage("Cancelled");
240 | }
241 |
242 | }
243 |
244 | }
245 |
246 | public void clearFields() {
247 | displayStudentNumber();
248 |
249 | student_name.clear();
250 | student_birthDate.setValue(null);
251 | student_year.getSelectionModel().clearSelection();
252 | student_course.getSelectionModel().clearSelection();
253 | student_gender.getSelectionModel().clearSelection();
254 | student_section.getSelectionModel().clearSelection();
255 | student_semester.getSelectionModel().clearSelection();
256 | student_payment.getSelectionModel().clearSelection();
257 | student_status.getSelectionModel().clearSelection();
258 | student_pay.clear();
259 |
260 | ListData.path = "";
261 |
262 | student_imageView.setImage(null);
263 |
264 | }
265 |
266 | private int getAge = 0;
267 |
268 | public void countAge() {
269 | if (student_birthDate.getValue() != null) {
270 | LocalDate birthDate = student_birthDate.getValue();
271 | int age = Period.between(birthDate, LocalDate.now()).getYears();
272 |
273 | getAge = age;
274 |
275 | System.out.println(getAge);
276 | }
277 | }
278 |
279 | public void importBtn() {
280 |
281 | FileChooser open = new FileChooser();
282 | open.getExtensionFilters().add(new ExtensionFilter("Open Image", "*.jpg", "*.jpeg", "*.png"));
283 |
284 | File file = open.showOpenDialog(student_importBtn.getScene().getWindow());
285 |
286 | if (file != null) {
287 | ListData.path = file.getAbsolutePath();
288 |
289 | image = new Image(file.toURI().toString(), 100, 113, false, true);
290 | student_imageView.setImage(image);
291 | }
292 | }
293 |
294 | public void displayStudentNumber() {
295 | FXMLDocumentController control = new FXMLDocumentController();
296 |
297 | int getnumber = control.studentIDGenerator();
298 |
299 | Date date = new Date();
300 |
301 | SimpleDateFormat format = new SimpleDateFormat("yyyy");
302 |
303 | String getyear = format.format(date) + "0000";
304 |
305 | int getStudentNum = Integer.parseInt(getyear) + getnumber;
306 |
307 | student_number.setText(String.valueOf(getStudentNum));
308 |
309 | }
310 |
311 | public void yearList() {
312 | List listY = new ArrayList<>();
313 |
314 | for (String data : ListData.year) {
315 | listY.add(data);
316 | }
317 |
318 | ObservableList listData = FXCollections.observableArrayList(listY);
319 | student_year.setItems(listData);
320 | }
321 |
322 | public void courseList() {
323 | // List listC = new ArrayList<>();
324 | //
325 | // for (String data : ListData.course) {
326 | // listC.add(data);
327 | // }
328 | //
329 | // ObservableList listData = FXCollections.observableArrayList(listC);
330 | // student_course.setItems(listData);
331 |
332 | String sql = "SELECT * FROM course WHERE date_delete IS NULL";
333 |
334 | connect = Database.connectDB();
335 |
336 | try {
337 | ObservableList listData = FXCollections.observableArrayList();
338 |
339 | prepare = connect.prepareStatement(sql);
340 | result = prepare.executeQuery();
341 |
342 | while (result.next()) {
343 | listData.add(result.getString("course"));
344 | }
345 | student_course.setItems(listData);
346 |
347 | } catch (Exception e) {
348 | e.printStackTrace();
349 | }
350 |
351 | priceList();
352 |
353 | }
354 | private double price = 0;
355 |
356 | public void priceList() {
357 | // if (student_course.getSelectionModel().getSelectedItem() != null) {
358 | // if (student_course.getSelectionModel().getSelectedItem().equals("BSCS")) {
359 | // price = 100;
360 | // } else if (student_course.getSelectionModel().getSelectedItem().equals("BSIT")) {
361 | // price = 105;
362 | // } else {
363 | // price = 0;
364 | // }
365 | // student_pay.setText("$" + String.valueOf(price));
366 | // }
367 |
368 | String selectData = "SELECT * FROM course WHERE course = '"
369 | + student_course.getSelectionModel().getSelectedItem() + "' AND date_delete IS NULL";
370 |
371 | connect = Database.connectDB();
372 |
373 | try {
374 | prepare = connect.prepareStatement(selectData);
375 | result = prepare.executeQuery();
376 |
377 | if (result.next()) {
378 | price = result.getDouble("price");
379 | System.out.println(price);
380 | student_pay.setText("$" + String.valueOf(price));
381 | }
382 | } catch (Exception e) {
383 | e.printStackTrace();
384 | }
385 | }
386 |
387 | public void setFields() {
388 | try {
389 | if (ListData.temp_studentNumber != null) {
390 | String sql = "SELECT * FROM student WHERE student_id = '"
391 | + ListData.temp_studentNumber + "'";
392 | connect = Database.connectDB();
393 |
394 | prepare = connect.prepareStatement(sql);
395 | result = prepare.executeQuery();
396 |
397 | if (result.next()) {
398 |
399 | if (result.getString("full_name") != null) {
400 | student_number.setText(ListData.temp_studentNumber);
401 | student_name.setText(result.getString("full_name"));
402 | student_birthDate.setValue(LocalDate.parse(result.getString("birth_date")));
403 | student_year.getSelectionModel().select(result.getString("year"));
404 | student_course.getSelectionModel().select(result.getString("course"));
405 | student_section.getSelectionModel().select(result.getString("section"));
406 | student_gender.getSelectionModel().select(result.getString("gender"));
407 | student_semester.getSelectionModel().select(result.getString("semester"));
408 | student_payment.getSelectionModel().select(result.getString("status_payment"));
409 | student_status.getSelectionModel().select(result.getString("status"));
410 | student_pay.setText(result.getString("payment"));
411 |
412 | ListData.path = result.getString("image");
413 |
414 | image = new Image("File:" + ListData.path, 100, 113, false, true);
415 | student_imageView.setImage(image);
416 |
417 | } else {
418 | student_number.setText(ListData.temp_studentNumber);
419 | student_status.getSelectionModel().select(result.getString("status"));
420 | }
421 |
422 | }
423 |
424 | }
425 | } catch (Exception e) {
426 | e.printStackTrace();
427 | }
428 |
429 | }
430 |
431 | public void sectionList() {
432 | List listS = new ArrayList<>();
433 |
434 | for (String data : ListData.section) {
435 | listS.add(data);
436 | }
437 |
438 | ObservableList listData = FXCollections.observableArrayList(listS);
439 | student_section.setItems(listData);
440 | }
441 |
442 | public void statusPaymentList() {
443 | List listSP = new ArrayList<>();
444 |
445 | for (String data : ListData.paymentStatus) {
446 | listSP.add(data);
447 | }
448 |
449 | ObservableList listData = FXCollections.observableArrayList(listSP);
450 | student_payment.setItems(listData);
451 | }
452 |
453 | public void statusList() {
454 | List listS = new ArrayList<>();
455 |
456 | for (String data : ListData.status) {
457 | listS.add(data);
458 | }
459 |
460 | ObservableList listData = FXCollections.observableArrayList(listS);
461 | student_status.setItems(listData);
462 | }
463 |
464 | public void semesterList() {
465 | List listS = new ArrayList<>();
466 |
467 | for (String data : ListData.semester) {
468 | listS.add(data);
469 | }
470 |
471 | ObservableList listData = FXCollections.observableArrayList(listS);
472 | student_semester.setItems(listData);
473 | }
474 |
475 | public void genderList() {
476 | List listG = new ArrayList<>();
477 |
478 | for (String data : ListData.gender) {
479 | listG.add(data);
480 | }
481 |
482 | ObservableList listData = FXCollections.observableArrayList(listG);
483 | student_gender.setItems(listData);
484 | }
485 |
486 | @Override
487 | public void initialize(URL location, ResourceBundle resources) {
488 | yearList();
489 | courseList();
490 | sectionList();
491 | statusPaymentList();
492 | statusList();
493 | semesterList();
494 | genderList();
495 |
496 | displayStudentNumber();
497 |
498 | setFields();
499 | }
500 |
501 | }
502 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/universitiymanagementsystem/AlertMessage.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package universitiymanagementsystem;
7 |
8 | import java.util.Optional;
9 | import javafx.scene.control.Alert;
10 | import javafx.scene.control.Alert.AlertType;
11 | import javafx.scene.control.ButtonType;
12 |
13 | /**
14 | *
15 | * @author WINDOWS 10
16 | */
17 | public class AlertMessage {
18 |
19 | private Alert alert;
20 |
21 | public void successMessage(String message) {
22 | alert = new Alert(AlertType.INFORMATION);
23 | alert.setTitle("Information Message");
24 | alert.setHeaderText(null);
25 | alert.setContentText(message);
26 | alert.show();
27 | }
28 |
29 | public void errorMessage(String message) {
30 | alert = new Alert(AlertType.ERROR);
31 | alert.setTitle("Error Message");
32 | alert.setHeaderText(null);
33 | alert.setContentText(message);
34 | alert.show();
35 | }
36 |
37 | public boolean confirmMessage(String message) {
38 |
39 | alert = new Alert(AlertType.CONFIRMATION);
40 | alert.setTitle("Confirmation Message");
41 | alert.setHeaderText(null);
42 | alert.setContentText(message);
43 |
44 | Optional option = alert.showAndWait();
45 |
46 | return option.get().equals(ButtonType.OK);
47 |
48 | }
49 |
50 | }
51 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/universitiymanagementsystem/CourseData.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package universitiymanagementsystem;
7 |
8 | import java.sql.Date;
9 |
10 | /**
11 | *
12 | * @author WINDOWS 10
13 | */
14 | public class CourseData {
15 |
16 | private Integer id;
17 | private String course;
18 | private String department;
19 | private Double price;
20 | private Date dateInsert;
21 | private Date dateUpdate;
22 | private Date dateDelete;
23 | private String status;
24 |
25 | public CourseData(Integer id, String course, String department, Double price,
26 | Date dateInsert, Date dateUpdate, Date dateDelete, String status) {
27 | this.id = id;
28 | this.course = course;
29 | this.department = department;
30 | this.price = price;
31 | this.dateInsert = dateInsert;
32 | this.dateUpdate = dateUpdate;
33 | this.dateDelete = dateDelete;
34 | this.status = status;
35 | }
36 |
37 | public Double getPrice(){
38 | return price;
39 | }
40 |
41 | public Integer getId() {
42 | return id;
43 | }
44 |
45 | public String getCourse() {
46 | return course;
47 | }
48 |
49 | public String getDepartment() {
50 | return department;
51 | }
52 |
53 | public Date getDateInsert() {
54 | return dateInsert;
55 | }
56 |
57 | public Date getDateUpdate() {
58 | return dateUpdate;
59 | }
60 |
61 | public Date getDateDelete() {
62 | return dateDelete;
63 | }
64 |
65 | public String getStatus() {
66 | return status;
67 | }
68 |
69 | }
70 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/universitiymanagementsystem/DataStudentHandle.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package universitiymanagementsystem;
7 |
8 | import java.sql.Date;
9 |
10 | /**
11 | *
12 | * @author WINDOWS 10
13 | */
14 | public class DataStudentHandle {
15 |
16 | private String teacherID;
17 | private String studentID;
18 | private String name;
19 | private String gender;
20 | private String course;
21 | private String year;
22 | private String semester;
23 | private Date dateInsert;
24 | private Date dateDelete;
25 | private String status;
26 |
27 | public DataStudentHandle(String studentID, String name, String gender,
28 | String course, String year, String semester, Date dateInsert,
29 | Date dateDelete, String status) {
30 | this.studentID = studentID;
31 | this.name = name;
32 | this.gender = gender;
33 | this.course = course;
34 | this.year = year;
35 | this.semester = semester;
36 | this.dateInsert = dateInsert;
37 | this.dateDelete = dateDelete;
38 | this.status = status;
39 | }
40 |
41 | public DataStudentHandle(String teacherID, String studentID
42 | , String name, String gender, Date dateInsert) {
43 | this.teacherID = teacherID;
44 | this.studentID = studentID;
45 | this.name = name;
46 | this.gender = gender;
47 | this.dateInsert = dateInsert;
48 | }
49 |
50 | public String getTeacherID() {
51 | return teacherID;
52 | }
53 |
54 | public String getStudentID() {
55 | return studentID;
56 | }
57 |
58 | public String getName() {
59 | return name;
60 | }
61 |
62 | public String getGender() {
63 | return gender;
64 | }
65 |
66 | public String getCourse() {
67 | return course;
68 | }
69 |
70 | public String getYear() {
71 | return year;
72 | }
73 |
74 | public String getSemester() {
75 | return semester;
76 | }
77 |
78 | public Date getDateInsert() {
79 | return dateInsert;
80 | }
81 |
82 | public Date getDateDelete() {
83 | return dateDelete;
84 | }
85 |
86 | public String getStatus() {
87 | return status;
88 | }
89 |
90 | }
91 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/universitiymanagementsystem/DataSubjectHandle.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package universitiymanagementsystem;
7 |
8 | import java.sql.Date;
9 |
10 | /**
11 | *
12 | * @author WINDOWS 10
13 | */
14 | public class DataSubjectHandle {
15 |
16 | private Integer id;
17 | private String subjectCode;
18 | private String subject;
19 | private Date insertData;
20 | private String status;
21 |
22 | public DataSubjectHandle(Integer id, String subjectCode,
23 | String subject, Date insertData, String status) {
24 | this.id = id;
25 | this.subjectCode = subjectCode;
26 | this.subject = subject;
27 | this.insertData = insertData;
28 | this.status = status;
29 | }
30 |
31 | public Integer getId() {
32 | return id;
33 | }
34 |
35 | public String getSubjectCode() {
36 | return subjectCode;
37 | }
38 |
39 | public String getSubject() {
40 | return subject;
41 | }
42 |
43 | public Date getInsertDate() {
44 | return insertData;
45 | }
46 |
47 | public String getStatus() {
48 | return status;
49 | }
50 |
51 | }
52 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/universitiymanagementsystem/Database.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package universitiymanagementsystem;
7 |
8 | import java.sql.Connection;
9 | import java.sql.DriverManager;
10 |
11 | /**
12 | *
13 | * @author WINDOWS 10
14 | */
15 | public class Database {
16 |
17 | public static Connection connectDB() {
18 |
19 | try {
20 | Class.forName("com.mysql.jdbc.Driver");
21 |
22 | Connection connect = DriverManager.getConnection("jdbc:mysql://localhost/university", "root", "");
23 | return connect;
24 | } catch (Exception e) {
25 | e.printStackTrace();
26 | }
27 | return null;
28 | }
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/universitiymanagementsystem/FXMLDocument.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
54 |
55 |
56 |
57 |
58 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
79 |
80 |
81 |
82 |
83 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
104 |
105 |
106 |
107 |
108 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/universitiymanagementsystem/FXMLDocumentController.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package universitiymanagementsystem;
7 |
8 | import java.net.URL;
9 | import java.sql.Connection;
10 | import java.sql.PreparedStatement;
11 | import java.sql.ResultSet;
12 | import java.sql.Statement;
13 | import java.text.SimpleDateFormat;
14 | import java.util.ArrayList;
15 | import java.util.Date;
16 | import java.util.List;
17 | import java.util.ResourceBundle;
18 | import javafx.collections.FXCollections;
19 | import javafx.collections.ObservableList;
20 | import javafx.event.ActionEvent;
21 | import javafx.fxml.FXML;
22 | import javafx.fxml.FXMLLoader;
23 | import javafx.fxml.Initializable;
24 | import javafx.scene.Parent;
25 | import javafx.scene.Scene;
26 | import javafx.scene.control.Button;
27 | import javafx.scene.control.ComboBox;
28 | import javafx.scene.control.Hyperlink;
29 | import javafx.scene.control.Label;
30 | import javafx.scene.control.PasswordField;
31 | import javafx.scene.control.TextField;
32 | import javafx.scene.layout.AnchorPane;
33 | import javafx.stage.Stage;
34 | import javafx.stage.StageStyle;
35 |
36 | /**
37 | *
38 | * @author WINDOWS 10
39 | */
40 | public class FXMLDocumentController implements Initializable {
41 |
42 | @FXML
43 | private AnchorPane login_form;
44 |
45 | @FXML
46 | private TextField login_username;
47 |
48 | @FXML
49 | private PasswordField login_password;
50 |
51 | @FXML
52 | private Button login_btn;
53 |
54 | @FXML
55 | private ComboBox login_role;
56 |
57 | @FXML
58 | private AnchorPane admin_form;
59 |
60 | @FXML
61 | private TextField admin_username;
62 |
63 | @FXML
64 | private PasswordField admin_password;
65 |
66 | @FXML
67 | private Button admin_signupBtn;
68 |
69 | @FXML
70 | private Hyperlink admin_signIn;
71 |
72 | @FXML
73 | private PasswordField admin_cPassword;
74 |
75 | @FXML
76 | private AnchorPane student_form;
77 |
78 | @FXML
79 | private TextField student_email;
80 |
81 | @FXML
82 | private TextField student_username;
83 |
84 | @FXML
85 | private PasswordField student_password;
86 |
87 | @FXML
88 | private Button student_signupBtn;
89 |
90 | @FXML
91 | private Hyperlink student_signIn;
92 |
93 | @FXML
94 | private PasswordField student_cPassword;
95 |
96 | @FXML
97 | private AnchorPane teacher_form;
98 |
99 | @FXML
100 | private TextField teacher_email;
101 |
102 | @FXML
103 | private TextField teacher_username;
104 |
105 | @FXML
106 | private PasswordField teacher_password;
107 |
108 | @FXML
109 | private Button teacher_signupBtn;
110 |
111 | @FXML
112 | private Hyperlink teacher_signIn;
113 |
114 | @FXML
115 | private PasswordField teacher_cPassword;
116 |
117 | private Connection connect;
118 | private PreparedStatement prepare;
119 | private ResultSet result;
120 | private Statement statement;
121 |
122 | private AlertMessage alert = new AlertMessage();
123 |
124 | public void loginAccount() {
125 |
126 | if (login_username.getText().isEmpty()
127 | || login_password.getText().isEmpty()) {
128 | alert.errorMessage("Please fill all blank fields");
129 | } else {
130 |
131 | String selectData = "SELECT * FROM users WHERE username = ? AND password = ?";
132 |
133 | connect = Database.connectDB();
134 |
135 | String role = "";
136 | try {
137 | prepare = connect.prepareStatement(selectData);
138 | prepare.setString(1, login_username.getText());
139 | prepare.setString(2, login_password.getText());
140 |
141 | result = prepare.executeQuery();
142 |
143 | if (result.next()) {
144 | role = result.getString("role");
145 |
146 | System.out.println(role);
147 |
148 | Thread.sleep(1000);
149 |
150 | if (role.equals("Admin")) {
151 | ListData.admin_username = login_username.getText();
152 | // LINK YOUR MAIN FORM FOR ADMIN
153 | Parent root = FXMLLoader.load(getClass().getResource("AdminMainForm.fxml"));
154 |
155 | Stage stage = new Stage();
156 | stage.setTitle("University Management System | Admin Portal");
157 | stage.setScene(new Scene(root));
158 |
159 | stage.show();
160 |
161 | // TO HIDE YOUR LOGIN FORM
162 | login_btn.getScene().getWindow().hide();
163 |
164 | } else if (role.equals("Student")) {
165 | String tempStudentID = result.getString("student_id");
166 |
167 | String checkData = "SELECT * FROM student WHERE student_id = '"
168 | + tempStudentID + "'";
169 |
170 | statement = connect.createStatement();
171 | result = statement.executeQuery(checkData);
172 |
173 | if (result.next()) {
174 | if (result.getString("status").equals("Approval")) {
175 | alert.errorMessage("Need the approval of the Admin!");
176 | } else {
177 | // TO GET THE USERNAME
178 | ListData.student_username = login_username.getText();
179 |
180 | Parent root = FXMLLoader.load(getClass().getResource("StudentMainForm.fxml"));
181 | Stage stage = new Stage();
182 |
183 | stage.setTitle("University Management System | Student Portal");
184 | stage.setScene(new Scene(root));
185 | stage.show();
186 |
187 | // TO HIDE YOUR LOGIN FORM
188 | login_btn.getScene().getWindow().hide();
189 | }
190 | }
191 | } else if (role.equals("Teacher")) {
192 |
193 | String tempTeacherID = result.getString("teacher_id");
194 |
195 | String checkData = "SELECT * FROM teacher WHERE teacher_id = '"
196 | + tempTeacherID + "'";
197 |
198 | statement = connect.createStatement();
199 | result = statement.executeQuery(checkData);
200 |
201 | if (result.next()) {
202 | if (result.getString("status").equals("Approval")) {
203 | alert.errorMessage("Need the approval of the Admin!");
204 | } else {
205 | // TO GET THE USERNAME
206 | ListData.teacher_username = login_username.getText();
207 |
208 | Parent root = FXMLLoader.load(getClass().getResource("TeacherMainForm.fxml"));
209 | Stage stage = new Stage();
210 |
211 | stage.setTitle("University Management System | Teacher Portal");
212 | stage.setScene(new Scene(root));
213 | stage.show();
214 |
215 | // TO HIDE YOUR LOGIN FORM
216 | login_btn.getScene().getWindow().hide();
217 | }
218 | }
219 |
220 | }
221 | } else {
222 | alert.errorMessage("Incorrect Username/Password");
223 | }
224 |
225 | } catch (Exception e) {
226 | e.printStackTrace();
227 | }
228 |
229 | }
230 |
231 | }
232 |
233 | public void registerAdmin() {
234 |
235 | if (admin_username.getText().isEmpty() || admin_password.getText().isEmpty()
236 | || admin_cPassword.getText().isEmpty()) {
237 | alert.errorMessage("Please fill all blank fields");
238 | } else {
239 | connect = Database.connectDB();
240 |
241 | String selectData = "SELECT * FROM users WHERE username = '"
242 | + admin_username.getText() + "'";
243 |
244 | try {
245 | statement = connect.createStatement();
246 | result = statement.executeQuery(selectData);
247 |
248 | if (result.next()) {
249 | alert.errorMessage(admin_username.getText() + " is already exist");
250 | } else if (!admin_password.getText().equals(admin_cPassword.getText())) {
251 | alert.errorMessage("Password does not match.");
252 | } else if (admin_password.getText().length() < 8) {
253 | alert.errorMessage("Invalid password, at least 8 characters needed");
254 | } else {
255 | String insertData = "INSERT INTO users (username, password, role, date) "
256 | + "VALUES(?,?,?,?)";
257 |
258 | Date date = new Date();
259 | java.sql.Date sqlDate = new java.sql.Date(date.getTime());
260 |
261 | prepare = connect.prepareStatement(insertData);
262 | prepare.setString(1, admin_username.getText());
263 | prepare.setString(2, admin_password.getText());
264 | prepare.setString(3, "Admin");
265 | prepare.setString(4, String.valueOf(sqlDate));
266 |
267 | prepare.executeUpdate();
268 |
269 | alert.successMessage("Registered successfully!");
270 |
271 | login_form.setVisible(true);
272 | admin_form.setVisible(false);
273 | }
274 |
275 | } catch (Exception e) {
276 | e.printStackTrace();
277 | }
278 | }
279 |
280 | }
281 |
282 | public void registerStudent() {
283 |
284 | if (student_email.getText().isEmpty() || student_username.getText().isEmpty()
285 | || student_password.getText().isEmpty()
286 | || student_cPassword.getText().isEmpty()) {
287 | alert.errorMessage("Please fill all blank fields");
288 | } else {
289 | connect = Database.connectDB();
290 |
291 | String selectData = "SELECT * FROM users WHERE username = '"
292 | + admin_username.getText() + "'";
293 |
294 | try {
295 | statement = connect.createStatement();
296 | result = statement.executeQuery(selectData);
297 |
298 | if (result.next()) {
299 | alert.errorMessage(student_username.getText() + " is already exist");
300 | } else {
301 | if (!student_password.getText().equals(student_cPassword.getText())) {
302 | alert.errorMessage("Password does not match.");
303 | } else if (student_password.getText().length() < 8) {
304 | alert.errorMessage("Invalid password, at least 8 characters needed");
305 | } else {
306 | String insertData = "INSERT INTO users (email, username, password, role, student_id, date) "
307 | + "VALUES(?,?,?,?,?,?)";
308 |
309 | Date date = new Date();
310 | java.sql.Date sqlDate = new java.sql.Date(date.getTime());
311 |
312 | SimpleDateFormat format = new SimpleDateFormat("yyyy");
313 | String getYear = format.format(date);
314 | String studentNum = getYear + "0000";
315 | int sNum = Integer.parseInt(studentNum) + studentIDGenerator();
316 |
317 | prepare = connect.prepareStatement(insertData);
318 | prepare.setString(1, student_email.getText());
319 | prepare.setString(2, student_username.getText());
320 | prepare.setString(3, student_password.getText());
321 | prepare.setString(4, "Student");
322 | prepare.setString(5, String.valueOf(sNum));
323 | prepare.setString(6, String.valueOf(sqlDate));
324 |
325 | prepare.executeUpdate();
326 |
327 | String insertStudent = "INSERT INTO student (student_id, date_insert, status) "
328 | + "VALUES(?,?,?)";
329 |
330 | prepare = connect.prepareStatement(insertStudent);
331 | prepare.setString(1, String.valueOf(sNum));
332 | prepare.setString(2, String.valueOf(sqlDate));
333 | prepare.setString(3, "Approval");
334 |
335 | prepare.executeUpdate();
336 |
337 | alert.successMessage("Registered successfully!");
338 |
339 | login_form.setVisible(true);
340 | student_form.setVisible(false);
341 | }
342 | }
343 |
344 | connect.close();
345 | } catch (Exception e) {
346 | e.printStackTrace();
347 | }
348 |
349 | }
350 |
351 | }
352 |
353 | private int studentID;
354 |
355 | public int studentIDGenerator() {
356 | String selectData = "SELECT MAX(id) FROM student";
357 |
358 | connect = Database.connectDB();
359 |
360 | int temp_studentID = 0;
361 |
362 | try {
363 | statement = connect.createStatement();
364 | result = statement.executeQuery(selectData);
365 |
366 | if (result.next()) {
367 | temp_studentID = result.getInt("MAX(id)");
368 | }
369 |
370 | if (temp_studentID == 0) {
371 | studentID = 1;
372 | } else {
373 | studentID = temp_studentID + 1;
374 | }
375 | } catch (Exception e) {
376 | e.printStackTrace();
377 | }
378 |
379 | return studentID;
380 | }
381 |
382 | public void registerTeacher() {
383 |
384 | if (teacher_email.getText().isEmpty() || teacher_username.getText().isEmpty()
385 | || teacher_password.getText().isEmpty()
386 | || teacher_cPassword.getText().isEmpty()) {
387 | alert.errorMessage("Please fill all blank fields");
388 | } else {
389 | connect = Database.connectDB();
390 |
391 | String selectData = "SELECT * FROM users WHERE username = '"
392 | + teacher_username.getText() + "'";
393 |
394 | try {
395 | statement = connect.createStatement();
396 | result = statement.executeQuery(selectData);
397 |
398 | if (result.next()) {
399 | alert.errorMessage(teacher_username.getText() + " is already exist");
400 | } else if (!teacher_password.getText().equals(teacher_cPassword.getText())) {
401 | alert.errorMessage("Password does not match.");
402 | } else if (teacher_password.getText().length() < 8) {
403 | alert.errorMessage("Invalid password, at least 8 characters needed");
404 | } else {
405 |
406 | String temp_teacherID = "TID-" + String.valueOf(teacherIDGenerator());
407 |
408 | String insertData = "INSERT INTO users "
409 | + "(email, username, password, role, teacher_id, date) "
410 | + "VALUES(?,?,?,?,?,?)";
411 |
412 | Date date = new Date();
413 | java.sql.Date sqlDate = new java.sql.Date(date.getTime());
414 |
415 | prepare = connect.prepareStatement(insertData);
416 | prepare.setString(1, teacher_email.getText());
417 | prepare.setString(2, teacher_username.getText());
418 | prepare.setString(3, teacher_password.getText());
419 | prepare.setString(4, "Teacher");
420 | prepare.setString(5, temp_teacherID);
421 | prepare.setString(6, String.valueOf(sqlDate));
422 |
423 | prepare.executeUpdate();
424 |
425 | String insertStudent = "INSERT INTO teacher "
426 | + "(teacher_id, date_insert, status) "
427 | + "VALUES(?,?,?)";
428 |
429 | prepare = connect.prepareStatement(insertStudent);
430 | prepare.setString(1, temp_teacherID);
431 | prepare.setString(2, String.valueOf(sqlDate));
432 | prepare.setString(3, "Approval");
433 |
434 | prepare.executeUpdate();
435 |
436 | alert.successMessage("Registered successfully!");
437 |
438 | login_form.setVisible(true);
439 | teacher_form.setVisible(false);
440 | }
441 |
442 | } catch (Exception e) {
443 | e.printStackTrace();
444 | }
445 | }
446 | }
447 |
448 | private int teacherID = 0;
449 |
450 | public int teacherIDGenerator() {
451 |
452 | String sql = "SELECT MAX(id) FROM teacher";
453 |
454 | connect = Database.connectDB();
455 | int temp_teacherID = 0;
456 | try {
457 | prepare = connect.prepareStatement(sql);
458 | result = prepare.executeQuery();
459 |
460 | if (result.next()) {
461 | temp_teacherID = result.getInt("MAX(id)");
462 | }
463 |
464 | if (temp_teacherID == 0) {
465 | teacherID = 1;
466 | } else {
467 | teacherID = temp_teacherID + 1;
468 | }
469 | } catch (Exception e) {
470 | e.printStackTrace();
471 | }
472 | return teacherID;
473 | }
474 |
475 | public void roleList() {
476 |
477 | List listR = new ArrayList<>();
478 |
479 | for (String data : ListData.role) {
480 | listR.add(data);
481 | }
482 |
483 | ObservableList listData = FXCollections.observableArrayList(listR);
484 | login_role.setItems(listData);
485 |
486 | }
487 |
488 | public void signInForm() {
489 | login_form.setVisible(true);
490 | admin_form.setVisible(false);
491 | student_form.setVisible(false);
492 | teacher_form.setVisible(false);
493 | }
494 |
495 | public void switchForm(ActionEvent event) {
496 |
497 | switch (login_role.getSelectionModel().getSelectedItem()) {
498 | case "Admin":
499 | login_form.setVisible(false);
500 | admin_form.setVisible(true);
501 | student_form.setVisible(false);
502 | teacher_form.setVisible(false);
503 | break;
504 | case "Student":
505 | login_form.setVisible(false);
506 | admin_form.setVisible(false);
507 | student_form.setVisible(true);
508 | teacher_form.setVisible(false);
509 | break;
510 | case "Teacher":
511 | login_form.setVisible(false);
512 | admin_form.setVisible(false);
513 | student_form.setVisible(false);
514 | teacher_form.setVisible(true);
515 | break;
516 | default:
517 | break;
518 | }
519 |
520 | }
521 |
522 | @Override
523 | public void initialize(URL url, ResourceBundle rb) {
524 | roleList();
525 | }
526 |
527 | }
528 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/universitiymanagementsystem/ListData.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package universitiymanagementsystem;
7 |
8 | import java.sql.Date;
9 |
10 | /**
11 | *
12 | * @author WINDOWS 10
13 | */
14 | public class ListData {
15 |
16 | public static String admin_username;
17 |
18 | public static String teacher_username;
19 |
20 | public static String student_username;
21 |
22 | public static String[] role = {"Admin", "Teacher", "Student"};
23 |
24 | public static String[] year = {"1st year", "2nd Year", "3rd Year", "4th Year"};
25 |
26 | public static String[] course = {"BSCS", "BSIT", "BS"};
27 |
28 | public static String[] section = {"A", "B", "C", "D", "E"};
29 |
30 | public static String[] paymentStatus = {"Paid", "Pending"};
31 |
32 | public static String[] status = {"Active", "Inactive", "Approval"};
33 |
34 | public static String[] semester = {"1st Semester", "2nd Semester"};
35 |
36 | public static String[] gender = {"Male", "Female", "Others"};
37 |
38 | public static String[] yearExperience = {"1 Year", "2 years", "3 Years", "4 Years or more"};
39 |
40 | public static String[] department = {"Department of BSIT", "Department of BSCS"};
41 |
42 | public static String[] statusA = {"Available", "Unavailable"};
43 |
44 | public static String path;
45 |
46 | public static String temp_studentNumber;
47 | public static String temp_studentName;
48 | public static Date temp_studentBirthDate;
49 | public static String temp_studentYear;
50 | public static String temp_studentCourse;
51 | public static String temp_studentSection;
52 | public static String temp_studentSubject;
53 | public static String temp_studentGender;
54 | public static String temp_studentSemester;
55 | public static Double temp_studentPay;
56 | public static String temp_studentPaymentStatus;
57 | public static String temp_studentStatus;
58 |
59 | }
60 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/universitiymanagementsystem/SalaryData.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package universitiymanagementsystem;
7 |
8 | import java.sql.Date;
9 |
10 | /**
11 | *
12 | * @author WINDOWS 10
13 | */
14 | public class SalaryData {
15 |
16 | private Integer id;
17 | private String teacherID;
18 | private String name;
19 | private Double salaryPerDay;
20 | private Integer totalDays;
21 | private Double salaryPaid;
22 | private Date datePaid;
23 |
24 | public SalaryData(Integer id, String teacherID, String name, Double salaryPerDay,
25 | Integer totalDays, Double salaryPaid, Date datePaid) {
26 | this.id = id;
27 | this.teacherID = teacherID;
28 | this.name = name;
29 | this.salaryPerDay = salaryPerDay;
30 | this.totalDays = totalDays;
31 | this.salaryPaid = salaryPaid;
32 | this.datePaid = datePaid;
33 | }
34 |
35 | public Integer getId() {
36 | return id;
37 | }
38 |
39 | public String getTeacherID() {
40 | return teacherID;
41 | }
42 |
43 | public String getName() {
44 | return name;
45 | }
46 |
47 | public Double getSalaryPerDay() {
48 | return salaryPerDay;
49 | }
50 |
51 | public Integer getTotalDays() {
52 | return totalDays;
53 | }
54 |
55 | public Double getSalaryPaid() {
56 | return salaryPaid;
57 | }
58 |
59 | public Date getDatePaid() {
60 | return datePaid;
61 | }
62 |
63 | }
64 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/universitiymanagementsystem/StudentData.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package universitiymanagementsystem;
7 |
8 | import java.sql.Date;
9 |
10 | /**
11 | *
12 | * @author WINDOWS 10
13 | */
14 | public class StudentData {
15 |
16 | private Integer id;
17 | private String studentID;
18 | private String fullName;
19 | private String gender;
20 | private Date birthDate;
21 | private String year;
22 | private String course;
23 | private String section;
24 | private Double payment;
25 | private String statusPayment;
26 | private String image;
27 | private Date dateInsert;
28 | private Date dateUpdate;
29 | private Date dateDelete;
30 | private String status;
31 | private String semester;
32 |
33 | public StudentData(Integer id, String studentID, String fullName, String gender,
34 | Date birthDate, String year, String course, String section,
35 | Double payment, String statusPayment, String image, Date dateInsert,
36 | Date dateUpdate, Date dateDelete, String status) {
37 | this.id = id;
38 | this.studentID = studentID;
39 | this.fullName = fullName;
40 | this.gender = gender;
41 | this.birthDate = birthDate;
42 | this.year = year;
43 | this.course = course;
44 | this.section = section;
45 | this.payment = payment;
46 | this.statusPayment = statusPayment;
47 | this.image = image;
48 | this.dateInsert = dateInsert;
49 | this.dateUpdate = dateUpdate;
50 | this.dateDelete = dateDelete;
51 | this.status = status;
52 | }
53 |
54 | public StudentData(Integer id, String studentID, String fullName, String year, String course,
55 | String section, String semester, Double payment, String statusPayment, Date dateInsert, String status) {
56 | this.id = id;
57 | this.studentID = studentID;
58 | this.fullName = fullName;
59 | this.year = year;
60 | this.course = course;
61 | this.section = section;
62 | this.semester = semester;
63 | this.payment = payment;
64 | this.statusPayment = statusPayment;
65 | this.dateInsert = dateInsert;
66 | this.status = status;
67 | }
68 |
69 | public StudentData(Integer id, String studentID, String fullName, String year, String course,
70 | String section, String semester, Double payment, String statusPayment, String image,
71 | Date dateUpdate, String status) {
72 | this.id = id;
73 | this.studentID = studentID;
74 | this.fullName = fullName;
75 | this.year = year;
76 | this.course = course;
77 | this.section = section;
78 | this.semester = semester;
79 | this.payment = payment;
80 | this.statusPayment = statusPayment;
81 | this.image = image;
82 | this.dateUpdate = dateUpdate;
83 | this.status = status;
84 | }
85 |
86 | public Integer getId() {
87 | return id;
88 | }
89 |
90 | public String getStudentID() {
91 | return studentID;
92 | }
93 |
94 | public String getFullName() {
95 | return fullName;
96 | }
97 |
98 | public String getGender() {
99 | return gender;
100 | }
101 |
102 | public Date getBirthDate() {
103 | return birthDate;
104 | }
105 |
106 | public String getYear() {
107 | return year;
108 | }
109 |
110 | public String getCourse() {
111 | return course;
112 | }
113 |
114 | public String getSemester() {
115 | return semester;
116 | }
117 |
118 | public String getSection() {
119 | return section;
120 | }
121 |
122 | public Double getPayment() {
123 | return payment;
124 | }
125 |
126 | public String getStatusPayment() {
127 | return statusPayment;
128 | }
129 |
130 | public String getImage() {
131 | return image;
132 | }
133 |
134 | public Date getDateInsert() {
135 | return dateInsert;
136 | }
137 |
138 | public Date getDateUpdate() {
139 | return dateUpdate;
140 | }
141 |
142 | public Date getDateDelete() {
143 | return dateDelete;
144 | }
145 |
146 | public String getStatus() {
147 | return status;
148 | }
149 | }
150 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/universitiymanagementsystem/StudentMainForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
52 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/universitiymanagementsystem/StudentMainFormController.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package universitiymanagementsystem;
7 |
8 | import java.net.URL;
9 | import java.sql.Connection;
10 | import java.sql.PreparedStatement;
11 | import java.sql.ResultSet;
12 | import java.sql.Statement;
13 | import java.util.ResourceBundle;
14 | import javafx.collections.FXCollections;
15 | import javafx.collections.ObservableList;
16 | import javafx.fxml.FXML;
17 | import javafx.fxml.FXMLLoader;
18 | import javafx.fxml.Initializable;
19 | import javafx.scene.Parent;
20 | import javafx.scene.Scene;
21 | import javafx.scene.control.Button;
22 | import javafx.scene.control.Label;
23 | import javafx.scene.control.TableColumn;
24 | import javafx.scene.control.TableView;
25 | import javafx.scene.control.cell.PropertyValueFactory;
26 | import javafx.scene.image.Image;
27 | import javafx.scene.paint.ImagePattern;
28 | import javafx.scene.shape.Circle;
29 | import javafx.stage.Stage;
30 |
31 | /**
32 | *
33 | * @author WINDOWS 10
34 | */
35 | public class StudentMainFormController implements Initializable {
36 |
37 | @FXML
38 | private Label student_id;
39 |
40 | @FXML
41 | private Button studentInformation_btn;
42 |
43 | @FXML
44 | private Button logout_btn;
45 |
46 | @FXML
47 | private TableView table_view;
48 |
49 | @FXML
50 | private TableColumn studentInfo_col_teacherID;
51 |
52 | @FXML
53 | private TableColumn studentInfo_col_name;
54 |
55 | @FXML
56 | private TableColumn studentInfo_col_gender;
57 |
58 | @FXML
59 | private TableColumn studentInfo_col_YE;
60 |
61 | @FXML
62 | private Circle circle_image;
63 |
64 | @FXML
65 | private Label teacher_id;
66 |
67 | @FXML
68 | private Label teacher_name;
69 |
70 | @FXML
71 | private Label teacher_gender;
72 |
73 | @FXML
74 | private Label teacher_date;
75 |
76 | private Connection connect;
77 | private PreparedStatement prepare;
78 | private Statement statement;
79 | private ResultSet result;
80 |
81 | AlertMessage alert = new AlertMessage();
82 |
83 | public ObservableList teacherSetData() {
84 |
85 | ObservableList listData = FXCollections.observableArrayList();
86 |
87 | String sql = "SELECT * FROM teacher_student WHERE stud_studentID = '"
88 | + student_id.getText() + "' AND date_delete IS NULL";
89 |
90 | connect = Database.connectDB();
91 |
92 | try {
93 |
94 | prepare = connect.prepareStatement(sql);
95 | result = prepare.executeQuery();
96 |
97 | DataStudentHandle dsh;
98 |
99 | while (result.next()) {
100 | // DataStudentHandle(String teacherID, String studentID
101 | // , String name, String gender, Date dateInsert)
102 |
103 | dsh = new DataStudentHandle(result.getString("teacher_id"),
104 | result.getString("stud_studentID"),
105 | result.getString("stud_name"),
106 | result.getString("stud_gender"),
107 | result.getDate("date_insert"));
108 | listData.add(dsh);
109 | }
110 |
111 | } catch (Exception e) {
112 | e.printStackTrace();
113 | }
114 | return listData;
115 | }
116 |
117 | private ObservableList teacherListData;
118 |
119 | public void teacherDisplayData() {
120 | teacherListData = teacherSetData();
121 |
122 | studentInfo_col_teacherID.setCellValueFactory(new PropertyValueFactory<>("teacherID"));
123 | studentInfo_col_name.setCellValueFactory(new PropertyValueFactory<>("name"));
124 | studentInfo_col_gender.setCellValueFactory(new PropertyValueFactory<>("gender"));
125 | studentInfo_col_YE.setCellValueFactory(new PropertyValueFactory<>("dateInsert"));
126 |
127 | table_view.setItems(teacherListData);
128 | }
129 |
130 | private Image image;
131 |
132 | public void teacherSelectData() {
133 | DataStudentHandle dsh = table_view.getSelectionModel().getSelectedItem();
134 | int num = table_view.getSelectionModel().getSelectedIndex();
135 |
136 | if ((num - 1) < -1) {
137 | return;
138 | }
139 |
140 | String sql = "SELECT * FROM teacher WHERE teacher_id = '"
141 | + dsh.getTeacherID() + "'";
142 |
143 | connect = Database.connectDB();
144 |
145 | try {
146 | prepare = connect.prepareStatement(sql);
147 | result = prepare.executeQuery();
148 |
149 | if (result.next()) {
150 |
151 | String path = "File:" + result.getString("image");
152 |
153 | image = new Image(path, 164, 73, false, true);
154 | circle_image.setFill(new ImagePattern(image));
155 |
156 | teacher_id.setText(result.getString("teacher_id"));
157 | teacher_name.setText(result.getString("full_name"));
158 | teacher_gender.setText(result.getString("gender"));
159 | teacher_date.setText(result.getString("date_insert"));
160 | }
161 |
162 | } catch (Exception e) {
163 | e.printStackTrace();
164 | }
165 |
166 | }
167 |
168 | public void studentIDDisplay() {
169 |
170 | String sql = "SELECT * FROM users WHERE username = '"
171 | + ListData.student_username + "'";
172 |
173 | connect = Database.connectDB();
174 |
175 | try {
176 | prepare = connect.prepareStatement(sql);
177 | result = prepare.executeQuery();
178 |
179 | if (result.next()) {
180 | student_id.setText(result.getString("student_id"));
181 | }
182 |
183 | } catch (Exception e) {
184 | e.printStackTrace();
185 | }
186 |
187 | }
188 |
189 | public void logoutBtn() {
190 |
191 | try {
192 | if (alert.confirmMessage("Are you sure you want to logout?")) {
193 | Parent root = FXMLLoader.load(getClass().getResource("FXMLDocument.fxml"));
194 |
195 | Stage stage = new Stage();
196 | Scene scene = new Scene(root);
197 |
198 | stage.setScene(scene);
199 | stage.show();
200 |
201 | logout_btn.getScene().getWindow().hide();
202 | }
203 | } catch (Exception e) {
204 | e.printStackTrace();
205 | }
206 |
207 | }
208 |
209 | @Override
210 | public void initialize(URL location, ResourceBundle resources) {
211 |
212 | teacherDisplayData();
213 | studentIDDisplay();
214 |
215 | }
216 |
217 | }
218 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/universitiymanagementsystem/SubjectData.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package universitiymanagementsystem;
7 |
8 | import java.sql.Date;
9 |
10 | /**
11 | *
12 | * @author WINDOWS 10
13 | */
14 | public class SubjectData {
15 |
16 | private Integer id;
17 | private String subjectCode;
18 | private String subject;
19 | private String course;
20 | private Date dateInsert;
21 | private Date dateUpdate;
22 | private Date dateDelete;
23 | private String status;
24 |
25 | public SubjectData(Integer id, String subjectCode, String subject, String course,
26 | Date dateInsert, Date dateUpdate, Date dateDelete, String status) {
27 | this.id = id;
28 | this.subjectCode = subjectCode;
29 | this.subject = subject;
30 | this.course = course;
31 | this.dateInsert = dateInsert;
32 | this.dateUpdate = dateUpdate;
33 | this.dateDelete = dateDelete;
34 | this.status = status;
35 | }
36 |
37 | public Integer getId() {
38 | return id;
39 | }
40 |
41 | public String getSubjectCode() {
42 | return subjectCode;
43 | }
44 |
45 | public String getSubject() {
46 | return subject;
47 | }
48 |
49 | public String getCourse() {
50 | return course;
51 | }
52 |
53 | public Date getDateInsert() {
54 | return dateInsert;
55 | }
56 |
57 | public Date getDateUpdate() {
58 | return dateUpdate;
59 | }
60 |
61 | public Date getDateDelete() {
62 | return dateDelete;
63 | }
64 |
65 | public String getStatus() {
66 | return status;
67 | }
68 |
69 | }
70 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/universitiymanagementsystem/TeacherData.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package universitiymanagementsystem;
7 |
8 | import java.sql.Date;
9 |
10 | /**
11 | *
12 | * @author WINDOWS 10
13 | */
14 | public class TeacherData {
15 |
16 | private Integer id;
17 | private String teacherID;
18 | private String fullName;
19 | private String gender;
20 | private String yearExperience;
21 | private String experience;
22 | private String department;
23 | private Double salary;
24 | private String image;
25 | private Date dateInsert;
26 | private Date dateUpdate;
27 | private Date dateDelete;
28 | private String status;
29 | private String salaryStatus;
30 |
31 | public TeacherData(Integer id, String teacherID, String fullName, String gender,
32 | String yearExperience, String experience, String department, Double salary,
33 | String salaryStatus,
34 | String image, Date dateInsert, Date dateUpdate, Date dateDelete, String status) {
35 | this.id = id;
36 | this.teacherID = teacherID;
37 | this.fullName = fullName;
38 | this.gender = gender;
39 | this.yearExperience = yearExperience;
40 | this.experience = experience;
41 | this.department = department;
42 | this.salary = salary;
43 | this.salaryStatus = salaryStatus;
44 | this.image = image;
45 | this.dateInsert = dateInsert;
46 | this.dateUpdate = dateUpdate;
47 | this.dateDelete = dateDelete;
48 | this.status = status;
49 | }
50 |
51 | public TeacherData(Integer id, String teacherID, String fullName,
52 | String gender, Double salary, String salaryStatus, Date dateInsert,
53 | Date dateUpdate, String status) {
54 | this.id = id;
55 | this.teacherID = teacherID;
56 | this.fullName = fullName;
57 | this.gender = gender;
58 | this.salary = salary;
59 | this.salaryStatus = salaryStatus;
60 | this.dateInsert = dateInsert;
61 | this.dateUpdate = dateUpdate;
62 | this.status = status;
63 | }
64 |
65 | public TeacherData(Integer id, String teacherID, String fullName,
66 | String gender, String yearExperience, Date dateInsert) {
67 | this.id = id;
68 | this.teacherID = teacherID;
69 | this.fullName = fullName;
70 | this.gender = gender;
71 | this.yearExperience = yearExperience;
72 | this.dateInsert = dateInsert;
73 | }
74 |
75 | public String getSalaryStatus() {
76 | return salaryStatus;
77 | }
78 |
79 | public Integer getId() {
80 | return id;
81 | }
82 |
83 | public String getTeacherID() {
84 | return teacherID;
85 | }
86 |
87 | public String getFullName() {
88 | return fullName;
89 | }
90 |
91 | public String getGender() {
92 | return gender;
93 | }
94 |
95 | public String getYearExperience() {
96 | return yearExperience;
97 | }
98 |
99 | public String getExperience() {
100 | return experience;
101 | }
102 |
103 | public String getDepartment() {
104 | return department;
105 | }
106 |
107 | public Double getSalary() {
108 | return salary;
109 | }
110 |
111 | public String getImage() {
112 | return image;
113 | }
114 |
115 | public Date getDateInsert() {
116 | return dateInsert;
117 | }
118 |
119 | public Date getDateUpdate() {
120 | return dateUpdate;
121 | }
122 |
123 | public Date getDateDelete() {
124 | return dateDelete;
125 | }
126 |
127 | public String getStatus() {
128 | return status;
129 | }
130 |
131 | }
132 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/universitiymanagementsystem/TeacherMainForm.fxml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
29 |
34 |
39 |
40 |
41 |
46 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
--------------------------------------------------------------------------------
/UniversitiyManagementSystem/src/universitiymanagementsystem/UniversitiyManagementSystem.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package universitiymanagementsystem;
7 |
8 | import javafx.application.Application;
9 | import javafx.fxml.FXMLLoader;
10 | import javafx.scene.Parent;
11 | import javafx.scene.Scene;
12 | import javafx.stage.Stage;
13 |
14 | /**
15 | *
16 | * @author WINDOWS 10
17 | */
18 | public class UniversitiyManagementSystem extends Application {
19 |
20 | @Override
21 | public void start(Stage stage) throws Exception {
22 | Parent root = FXMLLoader.load(getClass().getResource("FXMLDocument.fxml"));
23 |
24 | Scene scene = new Scene(root);
25 |
26 | stage.setTitle("University Management System");
27 |
28 | stage.setScene(scene);
29 | stage.show();
30 | }
31 |
32 | /**
33 | * @param args the command line arguments
34 | */
35 | public static void main(String[] args) {
36 | launch(args);
37 | }
38 |
39 | }
40 |
--------------------------------------------------------------------------------
/gitattributes:
--------------------------------------------------------------------------------
1 | ## Unity ##
2 |
3 | *.cs diff=csharp text
4 | *.cginc text
5 | *.shader text
6 |
7 | *.mat merge=unityyamlmerge eol=lf
8 | *.anim merge=unityyamlmerge eol=lf
9 | *.unity merge=unityyamlmerge eol=lf
10 | *.prefab merge=unityyamlmerge eol=lf
11 | *.physicsMaterial2D merge=unityyamlmerge eol=lf
12 | *.physicMaterial merge=unityyamlmerge eol=lf
13 | *.asset merge=unityyamlmerge eol=lf
14 | *.meta merge=unityyamlmerge eol=lf
15 | *.controller merge=unityyamlmerge eol=lf
16 |
17 |
18 | ## git-lfs ##
19 |
20 | #Image
21 | *.jpg filter=lfs diff=lfs merge=lfs -text
22 | *.jpeg filter=lfs diff=lfs merge=lfs -text
23 | *.png filter=lfs diff=lfs merge=lfs -text
24 | *.gif filter=lfs diff=lfs merge=lfs -text
25 | *.psd filter=lfs diff=lfs merge=lfs -text
26 | *.ai filter=lfs diff=lfs merge=lfs -text
27 | *.tif filter=lfs diff=lfs merge=lfs -text
28 |
29 | #Audio
30 | *.mp3 filter=lfs diff=lfs merge=lfs -text
31 | *.wav filter=lfs diff=lfs merge=lfs -text
32 | *.ogg filter=lfs diff=lfs merge=lfs -text
33 |
34 | #Video
35 | *.mp4 filter=lfs diff=lfs merge=lfs -text
36 | *.mov filter=lfs diff=lfs merge=lfs -text
37 |
38 | #3D Object
39 | *.FBX filter=lfs diff=lfs merge=lfs -text
40 | *.fbx filter=lfs diff=lfs merge=lfs -text
41 | *.blend filter=lfs diff=lfs merge=lfs -text
42 | *.obj filter=lfs diff=lfs merge=lfs -text
43 |
44 | #ETC
45 | *.a filter=lfs diff=lfs merge=lfs -text
46 | *.exr filter=lfs diff=lfs merge=lfs -text
47 | *.tga filter=lfs diff=lfs merge=lfs -text
48 | *.pdf filter=lfs diff=lfs merge=lfs -text
49 | *.zip filter=lfs diff=lfs merge=lfs -text
50 | *.dll filter=lfs diff=lfs merge=lfs -text
51 | *.unitypackage filter=lfs diff=lfs merge=lfs -text
52 | *.aif filter=lfs diff=lfs merge=lfs -text
53 | *.ttf filter=lfs diff=lfs merge=lfs -text
54 | *.rns filter=lfs diff=lfs merge=lfs -text
55 | *.reason filter=lfs diff=lfs merge=lfs -text
56 | *.lxo filter=lfs diff=lfs merge=lfs -text
57 | *.bc filter=lfs diff=lfs merge=lfs -text
--------------------------------------------------------------------------------