├── README.md ├── build.xml ├── build └── classes │ ├── .netbeans_automatic_build │ ├── .netbeans_update_resources │ ├── Icons │ ├── icons8_digi_id_32px.png │ ├── icons8_email_open_32px.png │ ├── icons8_email_sign_32px.png │ ├── icons8_group_32px.png │ ├── icons8_home_32px.png │ ├── icons8_password_32px_1.png │ ├── icons8_phone_32px.png │ ├── icons8_picture_32px.png │ ├── icons8_profile_32px.png │ └── icons8_user_32px.png │ ├── MyConnection.class │ ├── MyContactsForm$1.class │ ├── MyContactsForm$10.class │ ├── MyContactsForm$11.class │ ├── MyContactsForm$12.class │ ├── MyContactsForm$2.class │ ├── MyContactsForm$3.class │ ├── MyContactsForm$4.class │ ├── MyContactsForm$5.class │ ├── MyContactsForm$6.class │ ├── MyContactsForm$7.class │ ├── MyContactsForm$8.class │ ├── MyContactsForm$9.class │ ├── MyContactsForm.class │ ├── MyContactsForm.form │ ├── Myfunc.class │ ├── Mymodel.class │ ├── contact.class │ ├── contactQuery.class │ ├── loginForm$1.class │ ├── loginForm$2.class │ ├── loginForm$3.class │ ├── loginForm$4.class │ ├── loginForm$5.class │ ├── loginForm$6.class │ ├── loginForm$7.class │ ├── loginForm.class │ ├── loginForm.form │ ├── singnupForm$1.class │ ├── singnupForm$2.class │ ├── singnupForm$3.class │ ├── singnupForm$4.class │ ├── singnupForm$5.class │ ├── singnupForm$6.class │ ├── singnupForm$7.class │ ├── singnupForm.class │ └── singnupForm.form ├── dist └── javadoc │ ├── allclasses-index.html │ ├── allpackages-index.html │ ├── class-use │ ├── loginForm.html │ └── singnupForm.html │ ├── element-list │ ├── help-doc.html │ ├── index-files │ ├── index-1.html │ ├── index-2.html │ └── index-3.html │ ├── index.html │ ├── jquery-ui.overrides.css │ ├── legal │ ├── COPYRIGHT │ ├── LICENSE │ ├── jquery.md │ └── jqueryUI.md │ ├── loginForm.html │ ├── member-search-index.js │ ├── module-search-index.js │ ├── overview-tree.html │ ├── package-search-index.js │ ├── package-summary.html │ ├── package-tree.html │ ├── package-use.html │ ├── resources │ ├── glass.png │ └── x.png │ ├── script-dir │ ├── images │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ ├── ui-bg_glass_65_dadada_1x400.png │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ ├── ui-bg_highlight-soft_75_cccccc_1x100.png │ │ ├── ui-icons_222222_256x240.png │ │ ├── ui-icons_2e83ff_256x240.png │ │ ├── ui-icons_454545_256x240.png │ │ ├── ui-icons_888888_256x240.png │ │ └── ui-icons_cd0a0a_256x240.png │ ├── jquery-3.5.1.min.js │ ├── jquery-ui.min.css │ ├── jquery-ui.min.js │ └── jquery-ui.structure.min.css │ ├── script.js │ ├── search.js │ ├── serialized-form.html │ ├── singnupForm.html │ ├── stylesheet.css │ ├── tag-search-index.js │ └── type-search-index.js ├── manifest.mf ├── nbproject ├── build-impl.xml ├── genfiles.properties ├── private │ ├── config.properties │ ├── private.properties │ └── private.xml ├── project.properties └── project.xml └── src ├── Icons ├── icons8_digi_id_32px.png ├── icons8_email_open_32px.png ├── icons8_email_sign_32px.png ├── icons8_group_32px.png ├── icons8_home_32px.png ├── icons8_password_32px_1.png ├── icons8_phone_32px.png ├── icons8_picture_32px.png ├── icons8_profile_32px.png └── icons8_user_32px.png ├── MyConnection.java ├── MyContactsForm.form ├── MyContactsForm.java ├── Myfunc.java ├── Mymodel.java ├── contact.java ├── contactQuery.java ├── loginForm.form ├── loginForm.java ├── singnupForm.form └── singnupForm.java /README.md: -------------------------------------------------------------------------------- 1 | # Java_conect_app 2 | 3 | ![image](https://user-images.githubusercontent.com/99184393/165781037-53b397a9-da2f-41e2-9732-0ce8e25762ba.png) 4 | 5 | Java is a high-level, class-based, object-oriented programming language that is designed to have as few implementation dependencies as possible. 6 | -------------------------------------------------------------------------------- /build.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Builds, tests, and runs the project Java_conect_app. 12 | 13 | 73 | 74 | -------------------------------------------------------------------------------- /build/classes/.netbeans_automatic_build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/.netbeans_automatic_build -------------------------------------------------------------------------------- /build/classes/.netbeans_update_resources: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/.netbeans_update_resources -------------------------------------------------------------------------------- /build/classes/Icons/icons8_digi_id_32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/Icons/icons8_digi_id_32px.png -------------------------------------------------------------------------------- /build/classes/Icons/icons8_email_open_32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/Icons/icons8_email_open_32px.png -------------------------------------------------------------------------------- /build/classes/Icons/icons8_email_sign_32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/Icons/icons8_email_sign_32px.png -------------------------------------------------------------------------------- /build/classes/Icons/icons8_group_32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/Icons/icons8_group_32px.png -------------------------------------------------------------------------------- /build/classes/Icons/icons8_home_32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/Icons/icons8_home_32px.png -------------------------------------------------------------------------------- /build/classes/Icons/icons8_password_32px_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/Icons/icons8_password_32px_1.png -------------------------------------------------------------------------------- /build/classes/Icons/icons8_phone_32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/Icons/icons8_phone_32px.png -------------------------------------------------------------------------------- /build/classes/Icons/icons8_picture_32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/Icons/icons8_picture_32px.png -------------------------------------------------------------------------------- /build/classes/Icons/icons8_profile_32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/Icons/icons8_profile_32px.png -------------------------------------------------------------------------------- /build/classes/Icons/icons8_user_32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/Icons/icons8_user_32px.png -------------------------------------------------------------------------------- /build/classes/MyConnection.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/MyConnection.class -------------------------------------------------------------------------------- /build/classes/MyContactsForm$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/MyContactsForm$1.class -------------------------------------------------------------------------------- /build/classes/MyContactsForm$10.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/MyContactsForm$10.class -------------------------------------------------------------------------------- /build/classes/MyContactsForm$11.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/MyContactsForm$11.class -------------------------------------------------------------------------------- /build/classes/MyContactsForm$12.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/MyContactsForm$12.class -------------------------------------------------------------------------------- /build/classes/MyContactsForm$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/MyContactsForm$2.class -------------------------------------------------------------------------------- /build/classes/MyContactsForm$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/MyContactsForm$3.class -------------------------------------------------------------------------------- /build/classes/MyContactsForm$4.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/MyContactsForm$4.class -------------------------------------------------------------------------------- /build/classes/MyContactsForm$5.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/MyContactsForm$5.class -------------------------------------------------------------------------------- /build/classes/MyContactsForm$6.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/MyContactsForm$6.class -------------------------------------------------------------------------------- /build/classes/MyContactsForm$7.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/MyContactsForm$7.class -------------------------------------------------------------------------------- /build/classes/MyContactsForm$8.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/MyContactsForm$8.class -------------------------------------------------------------------------------- /build/classes/MyContactsForm$9.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/MyContactsForm$9.class -------------------------------------------------------------------------------- /build/classes/MyContactsForm.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/MyContactsForm.class -------------------------------------------------------------------------------- /build/classes/Myfunc.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/Myfunc.class -------------------------------------------------------------------------------- /build/classes/Mymodel.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/Mymodel.class -------------------------------------------------------------------------------- /build/classes/contact.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/contact.class -------------------------------------------------------------------------------- /build/classes/contactQuery.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/contactQuery.class -------------------------------------------------------------------------------- /build/classes/loginForm$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/loginForm$1.class -------------------------------------------------------------------------------- /build/classes/loginForm$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/loginForm$2.class -------------------------------------------------------------------------------- /build/classes/loginForm$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/loginForm$3.class -------------------------------------------------------------------------------- /build/classes/loginForm$4.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/loginForm$4.class -------------------------------------------------------------------------------- /build/classes/loginForm$5.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/loginForm$5.class -------------------------------------------------------------------------------- /build/classes/loginForm$6.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/loginForm$6.class -------------------------------------------------------------------------------- /build/classes/loginForm$7.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/loginForm$7.class -------------------------------------------------------------------------------- /build/classes/loginForm.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/loginForm.class -------------------------------------------------------------------------------- /build/classes/loginForm.form: -------------------------------------------------------------------------------- 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 | 29 | 30 | 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 | 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 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | -------------------------------------------------------------------------------- /build/classes/singnupForm$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/singnupForm$1.class -------------------------------------------------------------------------------- /build/classes/singnupForm$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/singnupForm$2.class -------------------------------------------------------------------------------- /build/classes/singnupForm$3.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/singnupForm$3.class -------------------------------------------------------------------------------- /build/classes/singnupForm$4.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/singnupForm$4.class -------------------------------------------------------------------------------- /build/classes/singnupForm$5.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/singnupForm$5.class -------------------------------------------------------------------------------- /build/classes/singnupForm$6.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/singnupForm$6.class -------------------------------------------------------------------------------- /build/classes/singnupForm$7.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/singnupForm$7.class -------------------------------------------------------------------------------- /build/classes/singnupForm.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/build/classes/singnupForm.class -------------------------------------------------------------------------------- /dist/javadoc/allclasses-index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | All Classes and Interfaces 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 21 | 24 |
25 | 48 |
49 |
50 |
51 |

All Classes and Interfaces

52 |
53 |
54 |
Classes
55 |
56 |
Class
57 |
Description
58 | 59 |
 
60 | 61 |
 
62 |
63 |
64 |
65 |
66 |
67 | 68 | 69 | -------------------------------------------------------------------------------- /dist/javadoc/allpackages-index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | All Packages 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 21 | 24 |
25 | 48 |
49 |
50 |
51 |

All Packages

52 |
53 |
Package Summary
54 |
55 |
Package
56 |
Description
57 | 58 |
 
59 |
60 |
61 |
62 |
63 | 64 | 65 | -------------------------------------------------------------------------------- /dist/javadoc/class-use/loginForm.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Uses of Class loginForm 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 21 | 24 |
25 | 48 |
49 |
50 |
51 |

Uses of Class
loginForm

52 |
53 | No usage of loginForm
54 |
55 |
56 | 57 | 58 | -------------------------------------------------------------------------------- /dist/javadoc/class-use/singnupForm.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Uses of Class singnupForm 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 21 | 24 |
25 | 48 |
49 |
50 |
51 |

Uses of Class
singnupForm

52 |
53 | No usage of singnupForm
54 |
55 |
56 | 57 | 58 | -------------------------------------------------------------------------------- /dist/javadoc/element-list: -------------------------------------------------------------------------------- 1 | unnamed package 2 | -------------------------------------------------------------------------------- /dist/javadoc/help-doc.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | API Help 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 21 | 24 |
25 | 55 |
56 |
57 |

JavaDoc Help

58 | 78 |
79 |
80 |

Navigation

81 | Starting from the Overview page, you can browse the documentation using the links in each page, and in the navigation bar at the top of each page. The Index and Search box allow you to navigate to specific declarations and summary pages, including: All Packages, All Classes and Interfaces 82 | 92 |
93 |
94 |
95 |

Kinds of Pages

96 | The following sections describe the different kinds of pages in this collection. 97 |
98 |

Package

99 |

Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain the following categories:

100 |
    101 |
  • Interfaces
  • 102 |
  • Classes
  • 103 |
  • Enum Classes
  • 104 |
  • Exceptions
  • 105 |
  • Errors
  • 106 |
  • Annotation Interfaces
  • 107 |
108 |
109 |
110 |

Class or Interface

111 |

Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a declaration and description, member summary tables, and detailed member descriptions. Entries in each of these sections are omitted if they are empty or not applicable.

112 |
    113 |
  • Class Inheritance Diagram
  • 114 |
  • Direct Subclasses
  • 115 |
  • All Known Subinterfaces
  • 116 |
  • All Known Implementing Classes
  • 117 |
  • Class or Interface Declaration
  • 118 |
  • Class or Interface Description
  • 119 |
120 |
121 |
    122 |
  • Nested Class Summary
  • 123 |
  • Enum Constant Summary
  • 124 |
  • Field Summary
  • 125 |
  • Property Summary
  • 126 |
  • Constructor Summary
  • 127 |
  • Method Summary
  • 128 |
  • Required Element Summary
  • 129 |
  • Optional Element Summary
  • 130 |
131 |
132 |
    133 |
  • Enum Constant Details
  • 134 |
  • Field Details
  • 135 |
  • Property Details
  • 136 |
  • Constructor Details
  • 137 |
  • Method Details
  • 138 |
  • Element Details
  • 139 |
140 |

Note: Annotation interfaces have required and optional elements, but not methods. Only enum classes have enum constants. The components of a record class are displayed as part of the declaration of the record class. Properties are a feature of JavaFX.

141 |

The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

142 |
143 |
144 |

Other Files

145 |

Packages and modules may contain pages with additional information related to the declarations nearby.

146 |
147 |
148 |

Use

149 |

Each documented package, class and interface has its own Use page. This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A. You can access this page by first going to the package, class or interface, then clicking on the USE link in the navigation bar.

150 |
151 |
152 |

Tree (Class Hierarchy)

153 |

There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

154 |
    155 |
  • When viewing the Overview page, clicking on TREE displays the hierarchy for all packages.
  • 156 |
  • When viewing a particular package, class or interface page, clicking on TREE displays the hierarchy for only that package.
  • 157 |
158 |
159 |
160 |

Serialized Form

161 |

Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to those who implement rather than use the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See Also" section of the class description.

162 |
163 |
164 |

All Packages

165 |

The All Packages page contains an alphabetic index of all packages contained in the documentation.

166 |
167 |
168 |

All Classes and Interfaces

169 |

The All Classes and Interfaces page contains an alphabetic index of all classes and interfaces contained in the documentation, including annotation interfaces, enum classes, and record classes.

170 |
171 |
172 |

Index

173 |

The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields in the documentation, as well as summary pages such as All Packages, All Classes and Interfaces.

174 |
175 |
176 |
177 | This help file applies to API documentation generated by the standard doclet.
178 |
179 |
180 | 181 | 182 | -------------------------------------------------------------------------------- /dist/javadoc/index-files/index-1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | L-Index 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 21 | 24 |
25 | 48 |
49 |
50 |
51 |

Index

52 |
53 | L M S 
All Classes and Interfaces|All Packages|Serialized Form 54 |

L

55 |
56 |
loginForm - Class in Unnamed Package
57 |
 
58 |
loginForm() - Constructor for class loginForm
59 |
60 |
Creates new form loginForm
61 |
62 |
63 | L M S 
All Classes and Interfaces|All Packages|Serialized Form
64 |
65 |
66 | 67 | 68 | -------------------------------------------------------------------------------- /dist/javadoc/index-files/index-2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | M-Index 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 21 | 24 |
25 | 48 |
49 |
50 |
51 |

Index

52 |
53 | L M S 
All Classes and Interfaces|All Packages|Serialized Form 54 |

M

55 |
56 |
main(String[]) - Static method in class loginForm
57 |
 
58 |
main(String[]) - Static method in class singnupForm
59 |
 
60 |
61 | L M S 
All Classes and Interfaces|All Packages|Serialized Form
62 |
63 |
64 | 65 | 66 | -------------------------------------------------------------------------------- /dist/javadoc/index-files/index-3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | S-Index 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 21 | 24 |
25 | 48 |
49 |
50 |
51 |

Index

52 |
53 | L M S 
All Classes and Interfaces|All Packages|Serialized Form 54 |

S

55 |
56 |
singnupForm - Class in Unnamed Package
57 |
 
58 |
singnupForm() - Constructor for class singnupForm
59 |
60 |
Creates new form singnupForm
61 |
62 |
63 | L M S 
All Classes and Interfaces|All Packages|Serialized Form
64 |
65 |
66 | 67 | 68 | -------------------------------------------------------------------------------- /dist/javadoc/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Generated Documentation (Untitled) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 | 18 | 19 |
20 | 23 |

loginForm.html

24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /dist/javadoc/jquery-ui.overrides.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | .ui-state-active, 27 | .ui-widget-content .ui-state-active, 28 | .ui-widget-header .ui-state-active, 29 | a.ui-button:active, 30 | .ui-button:active, 31 | .ui-button.ui-state-active:hover { 32 | /* Overrides the color of selection used in jQuery UI */ 33 | background: #F8981D; 34 | } 35 | -------------------------------------------------------------------------------- /dist/javadoc/legal/COPYRIGHT: -------------------------------------------------------------------------------- 1 | Please see ..\java.base\COPYRIGHT 2 | -------------------------------------------------------------------------------- /dist/javadoc/legal/LICENSE: -------------------------------------------------------------------------------- 1 | Please see ..\java.base\LICENSE 2 | -------------------------------------------------------------------------------- /dist/javadoc/legal/jquery.md: -------------------------------------------------------------------------------- 1 | ## jQuery v3.5.1 2 | 3 | ### jQuery License 4 | ``` 5 | jQuery v 3.5.1 6 | Copyright JS Foundation and other contributors, https://js.foundation/ 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining 9 | a copy of this software and associated documentation files (the 10 | "Software"), to deal in the Software without restriction, including 11 | without limitation the rights to use, copy, modify, merge, publish, 12 | distribute, sublicense, and/or sell copies of the Software, and to 13 | permit persons to whom the Software is furnished to do so, subject to 14 | the following conditions: 15 | 16 | The above copyright notice and this permission notice shall be 17 | included in all copies or substantial portions of the Software. 18 | 19 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 20 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 21 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 22 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 23 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 24 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 25 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 26 | 27 | ****************************************** 28 | 29 | The jQuery JavaScript Library v3.5.1 also includes Sizzle.js 30 | 31 | Sizzle.js includes the following license: 32 | 33 | Copyright JS Foundation and other contributors, https://js.foundation/ 34 | 35 | This software consists of voluntary contributions made by many 36 | individuals. For exact contribution history, see the revision history 37 | available at https://github.com/jquery/sizzle 38 | 39 | The following license applies to all parts of this software except as 40 | documented below: 41 | 42 | ==== 43 | 44 | Permission is hereby granted, free of charge, to any person obtaining 45 | a copy of this software and associated documentation files (the 46 | "Software"), to deal in the Software without restriction, including 47 | without limitation the rights to use, copy, modify, merge, publish, 48 | distribute, sublicense, and/or sell copies of the Software, and to 49 | permit persons to whom the Software is furnished to do so, subject to 50 | the following conditions: 51 | 52 | The above copyright notice and this permission notice shall be 53 | included in all copies or substantial portions of the Software. 54 | 55 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 56 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 57 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 58 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 59 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 60 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 61 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 62 | 63 | ==== 64 | 65 | All files located in the node_modules and external directories are 66 | externally maintained libraries used by this software which have their 67 | own licenses; we recommend you read them, as their terms may differ from 68 | the terms above. 69 | 70 | ********************* 71 | 72 | ``` 73 | -------------------------------------------------------------------------------- /dist/javadoc/legal/jqueryUI.md: -------------------------------------------------------------------------------- 1 | ## jQuery UI v1.12.1 2 | 3 | ### jQuery UI License 4 | ``` 5 | Copyright jQuery Foundation and other contributors, https://jquery.org/ 6 | 7 | This software consists of voluntary contributions made by many 8 | individuals. For exact contribution history, see the revision history 9 | available at https://github.com/jquery/jquery-ui 10 | 11 | The following license applies to all parts of this software except as 12 | documented below: 13 | 14 | ==== 15 | 16 | Permission is hereby granted, free of charge, to any person obtaining 17 | a copy of this software and associated documentation files (the 18 | "Software"), to deal in the Software without restriction, including 19 | without limitation the rights to use, copy, modify, merge, publish, 20 | distribute, sublicense, and/or sell copies of the Software, and to 21 | permit persons to whom the Software is furnished to do so, subject to 22 | the following conditions: 23 | 24 | The above copyright notice and this permission notice shall be 25 | included in all copies or substantial portions of the Software. 26 | 27 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 28 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 29 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 30 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 31 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 32 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 33 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 34 | 35 | ==== 36 | 37 | Copyright and related rights for sample code are waived via CC0. Sample 38 | code is defined as all source code contained within the demos directory. 39 | 40 | CC0: http://creativecommons.org/publicdomain/zero/1.0/ 41 | 42 | ==== 43 | 44 | All files located in the node_modules and external directories are 45 | externally maintained libraries used by this software which have their 46 | own licenses; we recommend you read them, as their terms may differ from 47 | the terms above. 48 | 49 | ``` 50 | -------------------------------------------------------------------------------- /dist/javadoc/member-search-index.js: -------------------------------------------------------------------------------- 1 | memberSearchIndex = [{"p":"","c":"loginForm","l":"loginForm()","u":"%3Cinit%3E()"},{"p":"","c":"loginForm","l":"main(String[])","u":"main(java.lang.String[])"},{"p":"","c":"singnupForm","l":"main(String[])","u":"main(java.lang.String[])"},{"p":"","c":"singnupForm","l":"singnupForm()","u":"%3Cinit%3E()"}];updateSearchResults(); -------------------------------------------------------------------------------- /dist/javadoc/module-search-index.js: -------------------------------------------------------------------------------- 1 | moduleSearchIndex = [];updateSearchResults(); -------------------------------------------------------------------------------- /dist/javadoc/overview-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Class Hierarchy 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 21 | 24 |
25 | 48 |
49 |
50 |
51 |

Hierarchy For All Packages

52 |
53 |
54 |

Class Hierarchy

55 | 83 |
84 |
85 |
86 |
87 | 88 | 89 | -------------------------------------------------------------------------------- /dist/javadoc/package-search-index.js: -------------------------------------------------------------------------------- 1 | packageSearchIndex = [{"l":"All Packages","u":"allpackages-index.html"}];updateSearchResults(); -------------------------------------------------------------------------------- /dist/javadoc/package-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Unnamed Package 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 21 | 24 |
25 | 56 |
57 |
58 |
59 |

Unnamed Package

60 |
61 |
62 |
63 |
    64 |
  • 65 |
    66 |
    Classes
    67 |
    68 |
    Class
    69 |
    Description
    70 | 71 |
     
    72 | 73 |
     
    74 |
    75 |
    76 |
  • 77 |
78 |
79 |
80 |
81 |
82 | 83 | 84 | -------------------------------------------------------------------------------- /dist/javadoc/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Class Hierarchy 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 21 | 24 |
25 | 48 |
49 |
50 |
51 |

Hierarchy For Unnamed Package

52 |
53 |
54 |

Class Hierarchy

55 | 83 |
84 |
85 |
86 |
87 | 88 | 89 | -------------------------------------------------------------------------------- /dist/javadoc/package-use.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Uses of Package 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 21 | 24 |
25 | 48 |
49 |
50 |
51 |

Uses of Package

52 |
53 | No usage of Unnamed Package
54 |
55 |
56 | 57 | 58 | -------------------------------------------------------------------------------- /dist/javadoc/resources/glass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/dist/javadoc/resources/glass.png -------------------------------------------------------------------------------- /dist/javadoc/resources/x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/dist/javadoc/resources/x.png -------------------------------------------------------------------------------- /dist/javadoc/script-dir/images/ui-bg_glass_55_fbf9ee_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/dist/javadoc/script-dir/images/ui-bg_glass_55_fbf9ee_1x400.png -------------------------------------------------------------------------------- /dist/javadoc/script-dir/images/ui-bg_glass_65_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/dist/javadoc/script-dir/images/ui-bg_glass_65_dadada_1x400.png -------------------------------------------------------------------------------- /dist/javadoc/script-dir/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/dist/javadoc/script-dir/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /dist/javadoc/script-dir/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/dist/javadoc/script-dir/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /dist/javadoc/script-dir/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/dist/javadoc/script-dir/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /dist/javadoc/script-dir/images/ui-bg_highlight-soft_75_cccccc_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/dist/javadoc/script-dir/images/ui-bg_highlight-soft_75_cccccc_1x100.png -------------------------------------------------------------------------------- /dist/javadoc/script-dir/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/dist/javadoc/script-dir/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /dist/javadoc/script-dir/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/dist/javadoc/script-dir/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /dist/javadoc/script-dir/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/dist/javadoc/script-dir/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /dist/javadoc/script-dir/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/dist/javadoc/script-dir/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /dist/javadoc/script-dir/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/dist/javadoc/script-dir/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /dist/javadoc/script-dir/jquery-ui.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.12.1 - 2018-12-06 2 | * http://jqueryui.com 3 | * Includes: core.css, autocomplete.css, menu.css, theme.css 4 | * To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=custom-theme&bgImgOpacityError=95&bgImgOpacityHighlight=55&bgImgOpacityActive=65&bgImgOpacityHover=75&bgImgOpacityDefault=75&bgImgOpacityContent=75&bgImgOpacityHeader=75&cornerRadiusShadow=8px&offsetLeftShadow=-8px&offsetTopShadow=-8px&thicknessShadow=8px&opacityShadow=30&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=%23aaaaaa&opacityOverlay=30&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=%23aaaaaa&iconColorError=%23cd0a0a&fcError=%23cd0a0a&borderColorError=%23cd0a0a&bgTextureError=glass&bgColorError=%23fef1ec&iconColorHighlight=%232e83ff&fcHighlight=%23363636&borderColorHighlight=%23fcefa1&bgTextureHighlight=glass&bgColorHighlight=%23fbf9ee&iconColorActive=%23454545&fcActive=%23212121&borderColorActive=%23aaaaaa&bgTextureActive=glass&bgColorActive=%23dadada&iconColorHover=%23454545&fcHover=%23212121&borderColorHover=%23999999&bgTextureHover=glass&bgColorHover=%23dadada&iconColorDefault=%23888888&fcDefault=%23555555&borderColorDefault=%23d3d3d3&bgTextureDefault=glass&bgColorDefault=%23e6e6e6&iconColorContent=%23222222&fcContent=%23222222&borderColorContent=%23aaaaaa&bgTextureContent=flat&bgColorContent=%23ffffff&iconColorHeader=%23222222&fcHeader=%23222222&borderColorHeader=%23aaaaaa&bgTextureHeader=highlight_soft&bgColorHeader=%23cccccc&cornerRadius=4px&fwDefault=normal&fsDefault=1.1em&ffDefault=Verdana%2CArial%2Csans-serif 5 | * Copyright jQuery Foundation and other contributors; Licensed MIT */ 6 | 7 | .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget.ui-widget-content{border:1px solid #d3d3d3}.ui-widget-content{border:1px solid #aaa;background:#fff;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc url("images/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;color:#222;font-weight:bold}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default,.ui-button,html .ui-button.ui-state-disabled:hover,html .ui-button.ui-state-disabled:active{border:1px solid #d3d3d3;background:#e6e6e6 url("images/ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,a.ui-button,a:link.ui-button,a:visited.ui-button,.ui-button{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus,.ui-button:hover,.ui-button:focus{border:1px solid #999;background:#dadada url("images/ui-bg_glass_75_dadada_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,a.ui-button:hover,a.ui-button:focus{color:#212121;text-decoration:none}.ui-visual-focus{box-shadow:0 0 3px 1px rgb(94,158,214)}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active,.ui-button:active,.ui-button.ui-state-active:hover{border:1px solid #aaa;background:#dadada url("images/ui-bg_glass_65_dadada_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-icon-background,.ui-state-active .ui-icon-background{border:#aaa;background-color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url("images/ui-bg_glass_55_fbf9ee_1x400.png") 50% 50% repeat-x;color:#363636}.ui-state-checked{border:1px solid #fcefa1;background:#fbf9ee}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url("images/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url("images/ui-icons_222222_256x240.png")}.ui-widget-header .ui-icon{background-image:url("images/ui-icons_222222_256x240.png")}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon,.ui-button:hover .ui-icon,.ui-button:focus .ui-icon{background-image:url("images/ui-icons_454545_256x240.png")}.ui-state-active .ui-icon,.ui-button:active .ui-icon{background-image:url("images/ui-icons_454545_256x240.png")}.ui-state-highlight .ui-icon,.ui-button .ui-state-highlight.ui-icon{background-image:url("images/ui-icons_2e83ff_256x240.png")}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url("images/ui-icons_cd0a0a_256x240.png")}.ui-button .ui-icon{background-image:url("images/ui-icons_888888_256x240.png")}.ui-icon-blank{background-position:16px 16px}.ui-icon-caret-1-n{background-position:0 0}.ui-icon-caret-1-ne{background-position:-16px 0}.ui-icon-caret-1-e{background-position:-32px 0}.ui-icon-caret-1-se{background-position:-48px 0}.ui-icon-caret-1-s{background-position:-65px 0}.ui-icon-caret-1-sw{background-position:-80px 0}.ui-icon-caret-1-w{background-position:-96px 0}.ui-icon-caret-1-nw{background-position:-112px 0}.ui-icon-caret-2-n-s{background-position:-128px 0}.ui-icon-caret-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-65px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-65px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:1px -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#aaa;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{-webkit-box-shadow:-8px -8px 8px #aaa;box-shadow:-8px -8px 8px #aaa} -------------------------------------------------------------------------------- /dist/javadoc/script-dir/jquery-ui.structure.min.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.12.1 - 2018-12-06 2 | * http://jqueryui.com 3 | * Copyright jQuery Foundation and other contributors; Licensed MIT */ 4 | 5 | .ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0} -------------------------------------------------------------------------------- /dist/javadoc/script.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | var moduleSearchIndex; 27 | var packageSearchIndex; 28 | var typeSearchIndex; 29 | var memberSearchIndex; 30 | var tagSearchIndex; 31 | function loadScripts(doc, tag) { 32 | createElem(doc, tag, 'search.js'); 33 | 34 | createElem(doc, tag, 'module-search-index.js'); 35 | createElem(doc, tag, 'package-search-index.js'); 36 | createElem(doc, tag, 'type-search-index.js'); 37 | createElem(doc, tag, 'member-search-index.js'); 38 | createElem(doc, tag, 'tag-search-index.js'); 39 | } 40 | 41 | function createElem(doc, tag, path) { 42 | var script = doc.createElement(tag); 43 | var scriptElement = doc.getElementsByTagName(tag)[0]; 44 | script.src = pathtoroot + path; 45 | scriptElement.parentNode.insertBefore(script, scriptElement); 46 | } 47 | 48 | function show(tableId, selected, columns) { 49 | if (tableId !== selected) { 50 | document.querySelectorAll('div.' + tableId + ':not(.' + selected + ')') 51 | .forEach(function(elem) { 52 | elem.style.display = 'none'; 53 | }); 54 | } 55 | document.querySelectorAll('div.' + selected) 56 | .forEach(function(elem, index) { 57 | elem.style.display = ''; 58 | var isEvenRow = index % (columns * 2) < columns; 59 | elem.classList.remove(isEvenRow ? oddRowColor : evenRowColor); 60 | elem.classList.add(isEvenRow ? evenRowColor : oddRowColor); 61 | }); 62 | updateTabs(tableId, selected); 63 | } 64 | 65 | function updateTabs(tableId, selected) { 66 | document.querySelector('div#' + tableId +' .summary-table') 67 | .setAttribute('aria-labelledby', selected); 68 | document.querySelectorAll('button[id^="' + tableId + '"]') 69 | .forEach(function(tab, index) { 70 | if (selected === tab.id || (tableId === selected && index === 0)) { 71 | tab.className = activeTableTab; 72 | tab.setAttribute('aria-selected', true); 73 | tab.setAttribute('tabindex',0); 74 | } else { 75 | tab.className = tableTab; 76 | tab.setAttribute('aria-selected', false); 77 | tab.setAttribute('tabindex',-1); 78 | } 79 | }); 80 | } 81 | 82 | function switchTab(e) { 83 | var selected = document.querySelector('[aria-selected=true]'); 84 | if (selected) { 85 | if ((e.keyCode === 37 || e.keyCode === 38) && selected.previousSibling) { 86 | // left or up arrow key pressed: move focus to previous tab 87 | selected.previousSibling.click(); 88 | selected.previousSibling.focus(); 89 | e.preventDefault(); 90 | } else if ((e.keyCode === 39 || e.keyCode === 40) && selected.nextSibling) { 91 | // right or down arrow key pressed: move focus to next tab 92 | selected.nextSibling.click(); 93 | selected.nextSibling.focus(); 94 | e.preventDefault(); 95 | } 96 | } 97 | } 98 | 99 | var updateSearchResults = function() {}; 100 | 101 | function indexFilesLoaded() { 102 | return moduleSearchIndex 103 | && packageSearchIndex 104 | && typeSearchIndex 105 | && memberSearchIndex 106 | && tagSearchIndex; 107 | } 108 | 109 | // Workaround for scroll position not being included in browser history (8249133) 110 | document.addEventListener("DOMContentLoaded", function(e) { 111 | var contentDiv = document.querySelector("div.flex-content"); 112 | window.addEventListener("popstate", function(e) { 113 | if (e.state !== null) { 114 | contentDiv.scrollTop = e.state; 115 | } 116 | }); 117 | window.addEventListener("hashchange", function(e) { 118 | history.replaceState(contentDiv.scrollTop, document.title); 119 | }); 120 | contentDiv.addEventListener("scroll", function(e) { 121 | var timeoutID; 122 | if (!timeoutID) { 123 | timeoutID = setTimeout(function() { 124 | history.replaceState(contentDiv.scrollTop, document.title); 125 | timeoutID = null; 126 | }, 100); 127 | } 128 | }); 129 | if (!location.hash) { 130 | history.replaceState(contentDiv.scrollTop, document.title); 131 | } 132 | }); 133 | -------------------------------------------------------------------------------- /dist/javadoc/search.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved. 3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 4 | * 5 | * 6 | * 7 | * 8 | * 9 | * 10 | * 11 | * 12 | * 13 | * 14 | * 15 | * 16 | * 17 | * 18 | * 19 | * 20 | * 21 | * 22 | * 23 | * 24 | */ 25 | 26 | var noResult = {l: "No results found"}; 27 | var loading = {l: "Loading search index..."}; 28 | var catModules = "Modules"; 29 | var catPackages = "Packages"; 30 | var catTypes = "Classes and Interfaces"; 31 | var catMembers = "Members"; 32 | var catSearchTags = "Search Tags"; 33 | var highlight = "$&"; 34 | var searchPattern = ""; 35 | var fallbackPattern = ""; 36 | var RANKING_THRESHOLD = 2; 37 | var NO_MATCH = 0xffff; 38 | var MIN_RESULTS = 3; 39 | var MAX_RESULTS = 500; 40 | var UNNAMED = ""; 41 | function escapeHtml(str) { 42 | return str.replace(//g, ">"); 43 | } 44 | function getHighlightedText(item, matcher, fallbackMatcher) { 45 | var escapedItem = escapeHtml(item); 46 | var highlighted = escapedItem.replace(matcher, highlight); 47 | if (highlighted === escapedItem) { 48 | highlighted = escapedItem.replace(fallbackMatcher, highlight) 49 | } 50 | return highlighted; 51 | } 52 | function getURLPrefix(ui) { 53 | var urlPrefix=""; 54 | var slash = "/"; 55 | if (ui.item.category === catModules) { 56 | return ui.item.l + slash; 57 | } else if (ui.item.category === catPackages && ui.item.m) { 58 | return ui.item.m + slash; 59 | } else if (ui.item.category === catTypes || ui.item.category === catMembers) { 60 | if (ui.item.m) { 61 | urlPrefix = ui.item.m + slash; 62 | } else { 63 | $.each(packageSearchIndex, function(index, item) { 64 | if (item.m && ui.item.p === item.l) { 65 | urlPrefix = item.m + slash; 66 | } 67 | }); 68 | } 69 | } 70 | return urlPrefix; 71 | } 72 | function createSearchPattern(term) { 73 | var pattern = ""; 74 | var isWordToken = false; 75 | term.replace(/,\s*/g, ", ").trim().split(/\s+/).forEach(function(w, index) { 76 | if (index > 0) { 77 | // whitespace between identifiers is significant 78 | pattern += (isWordToken && /^\w/.test(w)) ? "\\s+" : "\\s*"; 79 | } 80 | var tokens = w.split(/(?=[A-Z,.()<>[\/])/); 81 | for (var i = 0; i < tokens.length; i++) { 82 | var s = tokens[i]; 83 | if (s === "") { 84 | continue; 85 | } 86 | pattern += $.ui.autocomplete.escapeRegex(s); 87 | isWordToken = /\w$/.test(s); 88 | if (isWordToken) { 89 | pattern += "([a-z0-9_$<>\\[\\]]*?)"; 90 | } 91 | } 92 | }); 93 | return pattern; 94 | } 95 | function createMatcher(pattern, flags) { 96 | var isCamelCase = /[A-Z]/.test(pattern); 97 | return new RegExp(pattern, flags + (isCamelCase ? "" : "i")); 98 | } 99 | var watermark = 'Search'; 100 | $(function() { 101 | var search = $("#search-input"); 102 | var reset = $("#reset-button"); 103 | search.val(''); 104 | search.prop("disabled", false); 105 | reset.prop("disabled", false); 106 | search.val(watermark).addClass('watermark'); 107 | search.blur(function() { 108 | if ($(this).val().length === 0) { 109 | $(this).val(watermark).addClass('watermark'); 110 | } 111 | }); 112 | search.on('click keydown paste', function() { 113 | if ($(this).val() === watermark) { 114 | $(this).val('').removeClass('watermark'); 115 | } 116 | }); 117 | reset.click(function() { 118 | search.val('').focus(); 119 | }); 120 | search.focus()[0].setSelectionRange(0, 0); 121 | }); 122 | $.widget("custom.catcomplete", $.ui.autocomplete, { 123 | _create: function() { 124 | this._super(); 125 | this.widget().menu("option", "items", "> :not(.ui-autocomplete-category)"); 126 | }, 127 | _renderMenu: function(ul, items) { 128 | var rMenu = this; 129 | var currentCategory = ""; 130 | rMenu.menu.bindings = $(); 131 | $.each(items, function(index, item) { 132 | var li; 133 | if (item.category && item.category !== currentCategory) { 134 | ul.append("
  • " + item.category + "
  • "); 135 | currentCategory = item.category; 136 | } 137 | li = rMenu._renderItemData(ul, item); 138 | if (item.category) { 139 | li.attr("aria-label", item.category + " : " + item.l); 140 | li.attr("class", "result-item"); 141 | } else { 142 | li.attr("aria-label", item.l); 143 | li.attr("class", "result-item"); 144 | } 145 | }); 146 | }, 147 | _renderItem: function(ul, item) { 148 | var label = ""; 149 | var matcher = createMatcher(escapeHtml(searchPattern), "g"); 150 | var fallbackMatcher = new RegExp(fallbackPattern, "gi") 151 | if (item.category === catModules) { 152 | label = getHighlightedText(item.l, matcher, fallbackMatcher); 153 | } else if (item.category === catPackages) { 154 | label = getHighlightedText(item.l, matcher, fallbackMatcher); 155 | } else if (item.category === catTypes) { 156 | label = (item.p && item.p !== UNNAMED) 157 | ? getHighlightedText(item.p + "." + item.l, matcher, fallbackMatcher) 158 | : getHighlightedText(item.l, matcher, fallbackMatcher); 159 | } else if (item.category === catMembers) { 160 | label = (item.p && item.p !== UNNAMED) 161 | ? getHighlightedText(item.p + "." + item.c + "." + item.l, matcher, fallbackMatcher) 162 | : getHighlightedText(item.c + "." + item.l, matcher, fallbackMatcher); 163 | } else if (item.category === catSearchTags) { 164 | label = getHighlightedText(item.l, matcher, fallbackMatcher); 165 | } else { 166 | label = item.l; 167 | } 168 | var li = $("
  • ").appendTo(ul); 169 | var div = $("
    ").appendTo(li); 170 | if (item.category === catSearchTags && item.h) { 171 | if (item.d) { 172 | div.html(label + " (" + item.h + ")
    " 173 | + item.d + "
    "); 174 | } else { 175 | div.html(label + " (" + item.h + ")"); 176 | } 177 | } else { 178 | if (item.m) { 179 | div.html(item.m + "/" + label); 180 | } else { 181 | div.html(label); 182 | } 183 | } 184 | return li; 185 | } 186 | }); 187 | function rankMatch(match, category) { 188 | if (!match) { 189 | return NO_MATCH; 190 | } 191 | var index = match.index; 192 | var input = match.input; 193 | var leftBoundaryMatch = 2; 194 | var periferalMatch = 0; 195 | // make sure match is anchored on a left word boundary 196 | if (index === 0 || /\W/.test(input[index - 1]) || "_" === input[index]) { 197 | leftBoundaryMatch = 0; 198 | } else if ("_" === input[index - 1] || (input[index] === input[index].toUpperCase() && !/^[A-Z0-9_$]+$/.test(input))) { 199 | leftBoundaryMatch = 1; 200 | } 201 | var matchEnd = index + match[0].length; 202 | var leftParen = input.indexOf("("); 203 | var endOfName = leftParen > -1 ? leftParen : input.length; 204 | // exclude peripheral matches 205 | if (category !== catModules && category !== catSearchTags) { 206 | var delim = category === catPackages ? "/" : "."; 207 | if (leftParen > -1 && leftParen < index) { 208 | periferalMatch += 2; 209 | } else if (input.lastIndexOf(delim, endOfName) >= matchEnd) { 210 | periferalMatch += 2; 211 | } 212 | } 213 | var delta = match[0].length === endOfName ? 0 : 1; // rank full match higher than partial match 214 | for (var i = 1; i < match.length; i++) { 215 | // lower ranking if parts of the name are missing 216 | if (match[i]) 217 | delta += match[i].length; 218 | } 219 | if (category === catTypes) { 220 | // lower ranking if a type name contains unmatched camel-case parts 221 | if (/[A-Z]/.test(input.substring(matchEnd))) 222 | delta += 5; 223 | if (/[A-Z]/.test(input.substring(0, index))) 224 | delta += 5; 225 | } 226 | return leftBoundaryMatch + periferalMatch + (delta / 200); 227 | 228 | } 229 | function doSearch(request, response) { 230 | var result = []; 231 | searchPattern = createSearchPattern(request.term); 232 | fallbackPattern = createSearchPattern(request.term.toLowerCase()); 233 | if (searchPattern === "") { 234 | return this.close(); 235 | } 236 | var camelCaseMatcher = createMatcher(searchPattern, ""); 237 | var fallbackMatcher = new RegExp(fallbackPattern, "i"); 238 | 239 | function searchIndexWithMatcher(indexArray, matcher, category, nameFunc) { 240 | if (indexArray) { 241 | var newResults = []; 242 | $.each(indexArray, function (i, item) { 243 | item.category = category; 244 | var ranking = rankMatch(matcher.exec(nameFunc(item)), category); 245 | if (ranking < RANKING_THRESHOLD) { 246 | newResults.push({ranking: ranking, item: item}); 247 | } 248 | return newResults.length <= MAX_RESULTS; 249 | }); 250 | return newResults.sort(function(e1, e2) { 251 | return e1.ranking - e2.ranking; 252 | }).map(function(e) { 253 | return e.item; 254 | }); 255 | } 256 | return []; 257 | } 258 | function searchIndex(indexArray, category, nameFunc) { 259 | var primaryResults = searchIndexWithMatcher(indexArray, camelCaseMatcher, category, nameFunc); 260 | result = result.concat(primaryResults); 261 | if (primaryResults.length <= MIN_RESULTS && !camelCaseMatcher.ignoreCase) { 262 | var secondaryResults = searchIndexWithMatcher(indexArray, fallbackMatcher, category, nameFunc); 263 | result = result.concat(secondaryResults.filter(function (item) { 264 | return primaryResults.indexOf(item) === -1; 265 | })); 266 | } 267 | } 268 | 269 | searchIndex(moduleSearchIndex, catModules, function(item) { return item.l; }); 270 | searchIndex(packageSearchIndex, catPackages, function(item) { 271 | return (item.m && request.term.indexOf("/") > -1) 272 | ? (item.m + "/" + item.l) : item.l; 273 | }); 274 | searchIndex(typeSearchIndex, catTypes, function(item) { 275 | return request.term.indexOf(".") > -1 ? item.p + "." + item.l : item.l; 276 | }); 277 | searchIndex(memberSearchIndex, catMembers, function(item) { 278 | return request.term.indexOf(".") > -1 279 | ? item.p + "." + item.c + "." + item.l : item.l; 280 | }); 281 | searchIndex(tagSearchIndex, catSearchTags, function(item) { return item.l; }); 282 | 283 | if (!indexFilesLoaded()) { 284 | updateSearchResults = function() { 285 | doSearch(request, response); 286 | } 287 | result.unshift(loading); 288 | } else { 289 | updateSearchResults = function() {}; 290 | } 291 | response(result); 292 | } 293 | $(function() { 294 | $("#search-input").catcomplete({ 295 | minLength: 1, 296 | delay: 300, 297 | source: doSearch, 298 | response: function(event, ui) { 299 | if (!ui.content.length) { 300 | ui.content.push(noResult); 301 | } else { 302 | $("#search-input").empty(); 303 | } 304 | }, 305 | autoFocus: true, 306 | focus: function(event, ui) { 307 | return false; 308 | }, 309 | position: { 310 | collision: "flip" 311 | }, 312 | select: function(event, ui) { 313 | if (ui.item.category) { 314 | var url = getURLPrefix(ui); 315 | if (ui.item.category === catModules) { 316 | url += "module-summary.html"; 317 | } else if (ui.item.category === catPackages) { 318 | if (ui.item.u) { 319 | url = ui.item.u; 320 | } else { 321 | url += ui.item.l.replace(/\./g, '/') + "/package-summary.html"; 322 | } 323 | } else if (ui.item.category === catTypes) { 324 | if (ui.item.u) { 325 | url = ui.item.u; 326 | } else if (ui.item.p === UNNAMED) { 327 | url += ui.item.l + ".html"; 328 | } else { 329 | url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.l + ".html"; 330 | } 331 | } else if (ui.item.category === catMembers) { 332 | if (ui.item.p === UNNAMED) { 333 | url += ui.item.c + ".html" + "#"; 334 | } else { 335 | url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.c + ".html" + "#"; 336 | } 337 | if (ui.item.u) { 338 | url += ui.item.u; 339 | } else { 340 | url += ui.item.l; 341 | } 342 | } else if (ui.item.category === catSearchTags) { 343 | url += ui.item.u; 344 | } 345 | if (top !== window) { 346 | parent.classFrame.location = pathtoroot + url; 347 | } else { 348 | window.location.href = pathtoroot + url; 349 | } 350 | $("#search-input").focus(); 351 | } 352 | } 353 | }); 354 | }); 355 | -------------------------------------------------------------------------------- /dist/javadoc/serialized-form.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Serialized Form 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 21 | 24 |
    25 | 48 |
    49 |
    50 |
    51 |

    Serialized Form

    52 |
    53 |
      54 |
    • 55 |
      56 |

      Package <Unnamed>

      57 |
        58 |
      • 59 |
        60 |

        Class loginForm

        61 |
        class loginForm extends JFrame implements Serializable
        62 |
          63 |
        • 64 |
          65 |

          Serialized Fields

          66 |
            67 |
          • 68 |
            jLabel1
            69 |
            JLabel jLabel1
            70 |
          • 71 |
          • 72 |
            jLabel2
            73 |
            JLabel jLabel2
            74 |
          • 75 |
          • 76 |
            jLabel3
            77 |
            JLabel jLabel3
            78 |
          • 79 |
          • 80 |
            jLabelCose
            81 |
            JLabel jLabelCose
            82 |
          • 83 |
          • 84 |
            jLabelMn
            85 |
            JLabel jLabelMn
            86 |
          • 87 |
          • 88 |
            jPanel1
            89 |
            JPanel jPanel1
            90 |
          • 91 |
          • 92 |
            jPanel2
            93 |
            JPanel jPanel2
            94 |
          • 95 |
          • 96 |
            jPasswordField
            97 |
            JPasswordField jPasswordField
            98 |
          • 99 |
          • 100 |
            jTextFieldUsername
            101 |
            JTextField jTextFieldUsername
            102 |
          • 103 |
          104 |
          105 |
        • 106 |
        107 |
        108 |
      • 109 |
      • 110 |
        111 |

        Class singnupForm

        112 |
        class singnupForm extends JFrame implements Serializable
        113 |
        114 |
      • 115 |
      116 |
      117 |
    • 118 |
    119 |
    120 |
    121 |
    122 | 123 | 124 | -------------------------------------------------------------------------------- /dist/javadoc/tag-search-index.js: -------------------------------------------------------------------------------- 1 | tagSearchIndex = [{"l":"Serialized Form","h":"","u":"serialized-form.html"}];updateSearchResults(); -------------------------------------------------------------------------------- /dist/javadoc/type-search-index.js: -------------------------------------------------------------------------------- 1 | typeSearchIndex = [{"l":"All Classes and Interfaces","u":"allclasses-index.html"},{"p":"","l":"loginForm"},{"p":"","l":"singnupForm"}];updateSearchResults(); -------------------------------------------------------------------------------- /manifest.mf: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | X-COMMENT: Main-Class will be added automatically by build 3 | 4 | -------------------------------------------------------------------------------- /nbproject/genfiles.properties: -------------------------------------------------------------------------------- 1 | build.xml.data.CRC32=8a36bbd3 2 | build.xml.script.CRC32=79f66ab2 3 | build.xml.stylesheet.CRC32=f85dc8f2@1.101.0.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=8a36bbd3 7 | nbproject/build-impl.xml.script.CRC32=42b7603b 8 | nbproject/build-impl.xml.stylesheet.CRC32=12e0a6c2@1.101.0.48 9 | -------------------------------------------------------------------------------- /nbproject/private/config.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/nbproject/private/config.properties -------------------------------------------------------------------------------- /nbproject/private/private.properties: -------------------------------------------------------------------------------- 1 | compile.on.save=true 2 | do.depend=false 3 | do.jar=true 4 | do.jlink=false 5 | javac.debug=true 6 | javadoc.preview=true 7 | jlink.strip=false 8 | user.properties.file=C:\\Users\\User\\AppData\\Roaming\\NetBeans\\12.6\\build.properties 9 | -------------------------------------------------------------------------------- /nbproject/private/private.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /nbproject/project.properties: -------------------------------------------------------------------------------- 1 | annotation.processing.enabled=true 2 | annotation.processing.enabled.in.editor=false 3 | annotation.processing.processors.list= 4 | annotation.processing.run.all.processors=true 5 | annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output 6 | application.title=Java_conect_app 7 | application.vendor=User 8 | build.classes.dir=${build.dir}/classes 9 | build.classes.excludes=**/*.java,**/*.form 10 | # This directory is removed when the project is cleaned: 11 | build.dir=build 12 | build.generated.dir=${build.dir}/generated 13 | build.generated.sources.dir=${build.dir}/generated-sources 14 | # Only compile against the classpath explicitly listed here: 15 | build.sysclasspath=ignore 16 | build.test.classes.dir=${build.dir}/test/classes 17 | build.test.results.dir=${build.dir}/test/results 18 | # Uncomment to specify the preferred debugger connection transport: 19 | #debug.transport=dt_socket 20 | debug.classpath=\ 21 | ${run.classpath} 22 | debug.modulepath=\ 23 | ${run.modulepath} 24 | debug.test.classpath=\ 25 | ${run.test.classpath} 26 | debug.test.modulepath=\ 27 | ${run.test.modulepath} 28 | # Files in build.classes.dir which should be excluded from distribution jar 29 | dist.archive.excludes= 30 | # This directory is removed when the project is cleaned: 31 | dist.dir=dist 32 | dist.jar=${dist.dir}/Java_conect_app.jar 33 | dist.javadoc.dir=${dist.dir}/javadoc 34 | dist.jlink.dir=${dist.dir}/jlink 35 | dist.jlink.output=${dist.jlink.dir}/Java_conect_app 36 | endorsed.classpath= 37 | excludes= 38 | file.reference.mysql-connector-java-8.0.28.jar=C:\\Users\\User\\OneDrive\\Documents\\mysql-connector-java-8.0.28\\mysql-connector-java-8.0.28.jar 39 | includes=** 40 | jar.compress=false 41 | javac.classpath=\ 42 | ${file.reference.mysql-connector-java-8.0.28.jar} 43 | # Space-separated list of extra javac options 44 | javac.compilerargs= 45 | javac.deprecation=false 46 | javac.external.vm=true 47 | javac.modulepath= 48 | javac.processormodulepath= 49 | javac.processorpath=\ 50 | ${javac.classpath} 51 | javac.source=17 52 | javac.target=17 53 | javac.test.classpath=\ 54 | ${javac.classpath}:\ 55 | ${build.classes.dir} 56 | javac.test.modulepath=\ 57 | ${javac.modulepath} 58 | javac.test.processorpath=\ 59 | ${javac.test.classpath} 60 | javadoc.additionalparam= 61 | javadoc.author=false 62 | javadoc.encoding=${source.encoding} 63 | javadoc.html5=false 64 | javadoc.noindex=false 65 | javadoc.nonavbar=false 66 | javadoc.notree=false 67 | javadoc.private=false 68 | javadoc.splitindex=true 69 | javadoc.use=true 70 | javadoc.version=false 71 | javadoc.windowtitle= 72 | # The jlink additional root modules to resolve 73 | jlink.additionalmodules= 74 | # The jlink additional command line parameters 75 | jlink.additionalparam= 76 | jlink.launcher=true 77 | jlink.launcher.name=Java_conect_app 78 | main.class=loginForm 79 | manifest.file=manifest.mf 80 | meta.inf.dir=${src.dir}/META-INF 81 | mkdist.disabled=false 82 | platform.active=default_platform 83 | run.classpath=\ 84 | ${javac.classpath}:\ 85 | ${build.classes.dir} 86 | # Space-separated list of JVM arguments used when running the project. 87 | # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. 88 | # To set system properties for unit tests define test-sys-prop.name=value: 89 | run.jvmargs= 90 | run.modulepath=\ 91 | ${javac.modulepath} 92 | run.test.classpath=\ 93 | ${javac.test.classpath}:\ 94 | ${build.test.classes.dir} 95 | run.test.modulepath=\ 96 | ${javac.test.modulepath} 97 | source.encoding=UTF-8 98 | src.dir=src 99 | test.src.dir=test 100 | -------------------------------------------------------------------------------- /nbproject/project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | org.netbeans.modules.java.j2seproject 4 | 5 | 6 | Java_conect_app 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/Icons/icons8_digi_id_32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/src/Icons/icons8_digi_id_32px.png -------------------------------------------------------------------------------- /src/Icons/icons8_email_open_32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/src/Icons/icons8_email_open_32px.png -------------------------------------------------------------------------------- /src/Icons/icons8_email_sign_32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/src/Icons/icons8_email_sign_32px.png -------------------------------------------------------------------------------- /src/Icons/icons8_group_32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/src/Icons/icons8_group_32px.png -------------------------------------------------------------------------------- /src/Icons/icons8_home_32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/src/Icons/icons8_home_32px.png -------------------------------------------------------------------------------- /src/Icons/icons8_password_32px_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/src/Icons/icons8_password_32px_1.png -------------------------------------------------------------------------------- /src/Icons/icons8_phone_32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/src/Icons/icons8_phone_32px.png -------------------------------------------------------------------------------- /src/Icons/icons8_picture_32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/src/Icons/icons8_picture_32px.png -------------------------------------------------------------------------------- /src/Icons/icons8_profile_32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/src/Icons/icons8_profile_32px.png -------------------------------------------------------------------------------- /src/Icons/icons8_user_32px.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SashenJayathilaka/Java_conect_app/58c72b9522a29748d08bd847ec6a43012415657d/src/Icons/icons8_user_32px.png -------------------------------------------------------------------------------- /src/MyConnection.java: -------------------------------------------------------------------------------- 1 | 2 | import java.sql.Connection; 3 | import java.sql.DriverManager; 4 | import java.util.logging.Level; 5 | import java.util.logging.Logger; 6 | 7 | public class MyConnection { 8 | 9 | public static Connection getConnection(){ 10 | 11 | Connection con = null; 12 | try { 13 | Class.forName("com.mysql.cj.jdbc.Driver"); 14 | con = DriverManager.getConnection("jdbc:mysql://localhost:3306/javacontactsapp", "root", ""); 15 | System.out.println("Connection Success!"); 16 | } catch (Exception ex) { 17 | System.out.println(ex.getMessage()); 18 | } 19 | 20 | return con; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /src/Myfunc.java: -------------------------------------------------------------------------------- 1 | 2 | import java.awt.Image; 3 | import java.io.File; 4 | import javax.swing.ImageIcon; 5 | import javax.swing.JFileChooser; 6 | import javax.swing.JLabel; 7 | import javax.swing.filechooser.FileNameExtensionFilter; 8 | 9 | public class Myfunc { 10 | 11 | 12 | public ImageIcon resizePic(String picPath,byte[] BLOBpic,int wdth,int hgt){ 13 | 14 | ImageIcon myImg; 15 | 16 | if(picPath !=null){ 17 | myImg = new ImageIcon(picPath); 18 | }else{ 19 | myImg = new ImageIcon(BLOBpic); 20 | } 21 | 22 | Image img = myImg.getImage().getScaledInstance(wdth, hgt, Image.SCALE_SMOOTH); 23 | ImageIcon myPicture = new ImageIcon(img); 24 | return myPicture; 25 | } 26 | 27 | public String browseImage(JLabel lbl) 28 | { 29 | String path = null; 30 | JFileChooser filec = new JFileChooser(); 31 | filec.setCurrentDirectory(new File(System.getProperty("user.home"))); 32 | 33 | // file extension 34 | FileNameExtensionFilter fileFilter = new FileNameExtensionFilter("*.Images","jpg","png","gif"); 35 | filec.addChoosableFileFilter(fileFilter); 36 | 37 | int fileState = filec.showSaveDialog(null); 38 | 39 | //if the user select a file 40 | if(fileState == JFileChooser.APPROVE_OPTION){ 41 | 42 | File selectedFie = filec.getSelectedFile(); 43 | path = selectedFie.getAbsolutePath(); 44 | //imagepath = path; 45 | //display the image in jlabel using resize image 46 | 47 | lbl.setIcon(resizePic(path,null, lbl.getWidth(),lbl.getHeight())); 48 | 49 | // jLabelPic.setIcon(new ImageIcon(path)); 50 | 51 | } 52 | //if the user cance 53 | else if (fileState == JFileChooser.CANCEL_OPTION){ 54 | System.out.println("No Image Seected"); 55 | } 56 | 57 | return path; 58 | } 59 | 60 | 61 | 62 | 63 | } 64 | -------------------------------------------------------------------------------- /src/Mymodel.java: -------------------------------------------------------------------------------- 1 | 2 | import javax.swing.Icon; 3 | import javax.swing.table.AbstractTableModel; 4 | 5 | 6 | //creat a table model to display the contacts image jtable 7 | public class Mymodel extends AbstractTableModel { 8 | 9 | private String[] columns; 10 | private Object[][] rows; 11 | 12 | public Mymodel(){} 13 | 14 | public Mymodel(Object[][] data,String[] coluomnsName){ 15 | this.columns = coluomnsName; 16 | this.rows = data; 17 | } 18 | 19 | public Class getColumnClass(int col) 20 | { 21 | //the index of the image column is 8 22 | if(col == 8){return Icon.class;} 23 | 24 | else{ 25 | return getValueAt(0, col).getClass(); 26 | } 27 | } 28 | 29 | 30 | @Override 31 | public int getRowCount() { 32 | 33 | return this.rows.length; 34 | } 35 | 36 | @Override 37 | public int getColumnCount() { 38 | 39 | return this.columns.length; 40 | 41 | } 42 | 43 | @Override 44 | public Object getValueAt(int rowIndex, int columnIndex) { 45 | 46 | return this.rows[rowIndex][columnIndex]; 47 | 48 | } 49 | 50 | @Override 51 | public String getColumnName(int col){ 52 | 53 | return this.columns[col]; 54 | } 55 | 56 | 57 | 58 | } 59 | -------------------------------------------------------------------------------- /src/contact.java: -------------------------------------------------------------------------------- 1 | public class contact { 2 | 3 | private Integer cid; 4 | private String fname; 5 | private String lname; 6 | private String groupc; 7 | private String phone; 8 | private String email; 9 | private String adress; 10 | private byte[] pic; 11 | private int userid; 12 | 13 | // Alt + ins 14 | //to generate constuctor & getters & setters 15 | 16 | public contact() {} 17 | 18 | 19 | public contact(Integer cid, String fname, String lname, String groupc, String phone, String email, String adress, byte[] pic, int userid) { 20 | this.cid = cid; 21 | this.fname = fname; 22 | this.lname = lname; 23 | this.groupc = groupc; 24 | this.phone = phone; 25 | this.email = email; 26 | this.adress = adress; 27 | this.pic = pic; 28 | this.userid = userid; 29 | } 30 | 31 | public int getCid() { 32 | return cid; 33 | } 34 | 35 | public void setCid(int cid) { 36 | this.cid = cid; 37 | } 38 | 39 | public String getFname() { 40 | return fname; 41 | } 42 | 43 | public void setFname(String fname) { 44 | this.fname = fname; 45 | } 46 | 47 | public String getLname() { 48 | return lname; 49 | } 50 | 51 | public void setLname(String lname) { 52 | this.lname = lname; 53 | } 54 | 55 | public String getGroupc() { 56 | return groupc; 57 | } 58 | 59 | public void setGroupc(String groupc) { 60 | this.groupc = groupc; 61 | } 62 | 63 | public String getPhone() { 64 | return phone; 65 | } 66 | 67 | public void setPhone(String phone) { 68 | this.phone = phone; 69 | } 70 | 71 | public String getEmail() { 72 | return email; 73 | } 74 | 75 | public void setEmail(String email) { 76 | this.email = email; 77 | } 78 | 79 | public String getAdress() { 80 | return adress; 81 | } 82 | 83 | public void setAdress(String adress) { 84 | this.adress = adress; 85 | } 86 | 87 | public byte[] getPic() { 88 | return pic; 89 | } 90 | 91 | public void setPic(byte[] pic) { 92 | this.pic = pic; 93 | } 94 | 95 | public int getUserid() { 96 | return userid; 97 | } 98 | 99 | public void setUserid(int userid) { 100 | this.userid = userid; 101 | } 102 | 103 | 104 | 105 | } 106 | -------------------------------------------------------------------------------- /src/contactQuery.java: -------------------------------------------------------------------------------- 1 | 2 | import java.sql.Connection; 3 | import java.sql.Statement; 4 | import java.sql.ResultSet; 5 | import java.sql.PreparedStatement; 6 | import java.sql.SQLException; 7 | import java.util.ArrayList; 8 | import java.util.logging.Level; 9 | import java.util.logging.Logger; 10 | import javax.swing.JOptionPane; 11 | 12 | public class contactQuery { 13 | 14 | public void insertContact(contact cont) 15 | { 16 | 17 | Connection con = MyConnection.getConnection(); 18 | PreparedStatement ps; 19 | 20 | try { 21 | ps = con.prepareStatement("INSERT INTO `mycontact`(`fname`, `lname`, `groupc`, `phone`, `email`, `adress`, `pic`, `userid`) VALUES (?,?,?,?,?,?,?,?)"); 22 | ps.setString(1, cont.getFname()); 23 | ps.setString(2, cont.getLname()); 24 | ps.setString(3, cont.getGroupc()); 25 | ps.setString(4, cont.getPhone()); 26 | ps.setString(5, cont.getEmail()); 27 | ps.setString(6, cont.getAdress()); 28 | ps.setBytes(7, cont.getPic()); 29 | ps.setInt(8, cont.getUserid()); 30 | 31 | if(ps.executeUpdate() !=0){ 32 | JOptionPane.showMessageDialog(null, "New Contntact Add"); 33 | } 34 | else{ 35 | JOptionPane.showMessageDialog(null, "Somthing Wrong"); 36 | } 37 | 38 | } catch (SQLException ex) { 39 | Logger.getLogger(contactQuery.class.getName()).log(Level.SEVERE, null, ex); 40 | } 41 | 42 | } 43 | 44 | public void updateContact(contact cont, boolean withImage) 45 | { 46 | 47 | Connection con = MyConnection.getConnection(); 48 | PreparedStatement ps; 49 | String updateQuery = ""; 50 | 51 | if (withImage == true) // if the user want to update the contact profile picture to 52 | { 53 | updateQuery = "UPDATE `mycontact` SET `fname`= ?,`lname`= ?,`groupc`= ?,`phone`= ?,`email`= ?,`adress`= ?,`pic`= ? WHERE `id`= ?"; 54 | 55 | 56 | try { 57 | ps = con.prepareStatement(updateQuery); 58 | ps.setString(1, cont.getFname()); 59 | ps.setString(2, cont.getLname()); 60 | ps.setString(3, cont.getGroupc()); 61 | ps.setString(4, cont.getPhone()); 62 | ps.setString(5, cont.getEmail()); 63 | ps.setString(6, cont.getAdress()); 64 | ps.setBytes(7, cont.getPic()); 65 | ps.setInt(8, cont.getCid()); 66 | 67 | if(ps.executeUpdate() !=0){ 68 | JOptionPane.showMessageDialog(null, "Contntact Data Edited"); 69 | } 70 | else{ 71 | JOptionPane.showMessageDialog(null, "Somthing Wrong"); 72 | } 73 | 74 | } catch (SQLException ex) { 75 | Logger.getLogger(contactQuery.class.getName()).log(Level.SEVERE, null, ex); 76 | } 77 | 78 | 79 | } 80 | else{ // the user want to keep the same Image [remove the image from the update 81 | 82 | updateQuery = "UPDATE `mycontact` SET `fname`= ?,`lname`= ?,`groupc`= ?,`phone`= ?,`email`= ?,`adress`= ? WHERE `id`= ?"; 83 | 84 | try { 85 | ps = con.prepareStatement(updateQuery); 86 | ps.setString(1, cont.getFname()); 87 | ps.setString(2, cont.getLname()); 88 | ps.setString(3, cont.getGroupc()); 89 | ps.setString(4, cont.getPhone()); 90 | ps.setString(5, cont.getEmail()); 91 | ps.setString(6, cont.getAdress()); 92 | ps.setInt(7, cont.getCid()); 93 | 94 | if(ps.executeUpdate() !=0){ 95 | JOptionPane.showMessageDialog(null, "Contntact Data Edited"); 96 | } 97 | else{ 98 | JOptionPane.showMessageDialog(null, "Somthing Wrong"); 99 | } 100 | 101 | } catch (SQLException ex) { 102 | Logger.getLogger(contactQuery.class.getName()).log(Level.SEVERE, null, ex); 103 | } 104 | } 105 | 106 | } 107 | 108 | public void deleteContact(int cid) 109 | { 110 | 111 | Connection con = MyConnection.getConnection(); 112 | PreparedStatement ps; 113 | 114 | try { 115 | ps = con.prepareStatement("DELETE FROM `mycontact` WHERE `id`= ?"); 116 | ps.setInt(1, cid); 117 | 118 | if(ps.executeUpdate() !=0){ 119 | JOptionPane.showMessageDialog(null, "Contntact Deleted"); 120 | 121 | } 122 | else{ 123 | JOptionPane.showMessageDialog(null, "Somthing Wrong"); 124 | } 125 | 126 | } catch (SQLException ex) { 127 | Logger.getLogger(contactQuery.class.getName()).log(Level.SEVERE, null, ex); 128 | } 129 | 130 | } 131 | 132 | 133 | // creat a list of contact 134 | public ArrayList contactList(int userId){ 135 | 136 | ArrayList clist = new ArrayList(); 137 | 138 | Connection con = MyConnection.getConnection(); 139 | Statement st; 140 | ResultSet rs; 141 | 142 | try { 143 | st = con.createStatement(); 144 | rs = st.executeQuery("SELECT `id`, `fname`, `lname`, `groupc`, `phone`, `email`, `adress`, `pic` FROM `mycontact` WHERE userid = " + userId); 145 | 146 | contact ct; 147 | 148 | while(rs.next()){ 149 | ct = new contact(rs.getInt("id"), 150 | rs.getString("fname"), 151 | rs.getString("lname"), 152 | rs.getString("groupc"), 153 | rs.getString("phone"), 154 | rs.getString("email"), 155 | rs.getString("adress"), 156 | rs.getBytes("pic"), 157 | userId); 158 | clist.add(ct); 159 | } 160 | 161 | } catch (SQLException ex) { 162 | Logger.getLogger(contactQuery.class.getName()).log(Level.SEVERE, null, ex); 163 | } 164 | 165 | return clist; 166 | 167 | } 168 | 169 | } 170 | -------------------------------------------------------------------------------- /src/loginForm.form: -------------------------------------------------------------------------------- 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 | 29 | 30 | 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 | 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 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | -------------------------------------------------------------------------------- /src/loginForm.java: -------------------------------------------------------------------------------- 1 | 2 | import javax.swing.JFrame; 3 | import java.sql.Connection; 4 | import java.sql.PreparedStatement; 5 | import java.sql.ResultSet; 6 | import java.sql.SQLException; 7 | import java.util.logging.Level; 8 | import java.util.logging.Logger; 9 | import javax.swing.JOptionPane; 10 | 11 | /* 12 | * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license 13 | * Click nbfs://nbhost/SystemFileSystem/Templates/GUIForms/JFrame.java to edit this template 14 | */ 15 | 16 | /** 17 | * 18 | * @author User 19 | */ 20 | public class loginForm extends javax.swing.JFrame { 21 | 22 | /** 23 | * Creates new form loginForm 24 | */ 25 | public loginForm() { 26 | initComponents(); 27 | //center form 28 | this.setLocationRelativeTo(null); 29 | } 30 | 31 | /** 32 | * This method is called from within the constructor to initialize the form. 33 | * WARNING: Do NOT modify this code. The content of this method is always 34 | * regenerated by the Form Editor. 35 | */ 36 | @SuppressWarnings("unchecked") 37 | // //GEN-BEGIN:initComponents 38 | private void initComponents() { 39 | 40 | jPanel1 = new javax.swing.JPanel(); 41 | jLabelCose = new javax.swing.JLabel(); 42 | jLabelMn = new javax.swing.JLabel(); 43 | jLabel2 = new javax.swing.JLabel(); 44 | jPanel2 = new javax.swing.JPanel(); 45 | jLabel1 = new javax.swing.JLabel(); 46 | jLabel3 = new javax.swing.JLabel(); 47 | jTextFieldUsername = new javax.swing.JTextField(); 48 | jPasswordField = new javax.swing.JPasswordField(); 49 | jCheckBoxShowpass = new javax.swing.JCheckBox(); 50 | jLabel4 = new javax.swing.JLabel(); 51 | jLabel5 = new javax.swing.JLabel(); 52 | jButtonCancel = new javax.swing.JButton(); 53 | jButtonLogin1 = new javax.swing.JButton(); 54 | jLabelCreatAccount = new javax.swing.JLabel(); 55 | 56 | setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); 57 | setUndecorated(true); 58 | 59 | jPanel1.setBackground(new java.awt.Color(46, 204, 113)); 60 | jPanel1.setMinimumSize(new java.awt.Dimension(436, 59)); 61 | 62 | jLabelCose.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N 63 | jLabelCose.setForeground(new java.awt.Color(255, 255, 255)); 64 | jLabelCose.setText("X"); 65 | jLabelCose.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); 66 | jLabelCose.addMouseListener(new java.awt.event.MouseAdapter() { 67 | public void mouseClicked(java.awt.event.MouseEvent evt) { 68 | jLabelCoseMouseClicked(evt); 69 | } 70 | }); 71 | 72 | jLabelMn.setFont(new java.awt.Font("Segoe UI", 1, 24)); // NOI18N 73 | jLabelMn.setForeground(new java.awt.Color(255, 255, 255)); 74 | jLabelMn.setText("-"); 75 | jLabelMn.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); 76 | jLabelMn.addMouseListener(new java.awt.event.MouseAdapter() { 77 | public void mouseClicked(java.awt.event.MouseEvent evt) { 78 | jLabelMnMouseClicked(evt); 79 | } 80 | }); 81 | 82 | jLabel2.setBackground(new java.awt.Color(255, 255, 255)); 83 | jLabel2.setFont(new java.awt.Font("Tahoma", 1, 24)); // NOI18N 84 | jLabel2.setForeground(new java.awt.Color(255, 255, 255)); 85 | jLabel2.setText("Login Form"); 86 | 87 | jPanel2.setBackground(new java.awt.Color(44, 62, 80)); 88 | jPanel2.setMinimumSize(new java.awt.Dimension(436, 260)); 89 | 90 | jLabel1.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N 91 | jLabel1.setForeground(new java.awt.Color(236, 240, 241)); 92 | jLabel1.setText("Password:"); 93 | 94 | jLabel3.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N 95 | jLabel3.setForeground(new java.awt.Color(236, 240, 241)); 96 | jLabel3.setText("User Name:"); 97 | 98 | jTextFieldUsername.setBackground(new java.awt.Color(108, 122, 137)); 99 | jTextFieldUsername.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N 100 | jTextFieldUsername.setForeground(new java.awt.Color(253, 227, 167)); 101 | 102 | jPasswordField.setBackground(new java.awt.Color(108, 122, 137)); 103 | jPasswordField.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N 104 | jPasswordField.setForeground(new java.awt.Color(253, 227, 167)); 105 | 106 | jCheckBoxShowpass.setForeground(new java.awt.Color(255, 255, 255)); 107 | jCheckBoxShowpass.setText("Show Password"); 108 | jCheckBoxShowpass.addActionListener(new java.awt.event.ActionListener() { 109 | public void actionPerformed(java.awt.event.ActionEvent evt) { 110 | jCheckBoxShowpassActionPerformed(evt); 111 | } 112 | }); 113 | 114 | jLabel4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icons/icons8_user_32px.png"))); // NOI18N 115 | jLabel4.setText("jLabel4"); 116 | 117 | jLabel5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Icons/icons8_password_32px_1.png"))); // NOI18N 118 | jLabel5.setText("jLabel5"); 119 | 120 | jButtonCancel.setBackground(new java.awt.Color(242, 38, 19)); 121 | jButtonCancel.setFont(new java.awt.Font("Segoe UI", 0, 18)); // NOI18N 122 | jButtonCancel.setForeground(new java.awt.Color(255, 255, 255)); 123 | jButtonCancel.setText("Cancel"); 124 | jButtonCancel.addActionListener(new java.awt.event.ActionListener() { 125 | public void actionPerformed(java.awt.event.ActionEvent evt) { 126 | jButtonCancelActionPerformed(evt); 127 | } 128 | }); 129 | 130 | jButtonLogin1.setBackground(new java.awt.Color(30, 139, 195)); 131 | jButtonLogin1.setFont(new java.awt.Font("Segoe UI", 0, 18)); // NOI18N 132 | jButtonLogin1.setForeground(new java.awt.Color(255, 255, 255)); 133 | jButtonLogin1.setText("Login"); 134 | jButtonLogin1.addActionListener(new java.awt.event.ActionListener() { 135 | public void actionPerformed(java.awt.event.ActionEvent evt) { 136 | jButtonLogin1ActionPerformed(evt); 137 | } 138 | }); 139 | 140 | jLabelCreatAccount.setFont(new java.awt.Font("Tahoma", 0, 13)); // NOI18N 141 | jLabelCreatAccount.setForeground(new java.awt.Color(255, 255, 255)); 142 | jLabelCreatAccount.setText("New user? Click here to creat an account"); 143 | jLabelCreatAccount.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR)); 144 | jLabelCreatAccount.addMouseListener(new java.awt.event.MouseAdapter() { 145 | public void mouseClicked(java.awt.event.MouseEvent evt) { 146 | jLabelCreatAccountMouseClicked(evt); 147 | } 148 | }); 149 | 150 | javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2); 151 | jPanel2.setLayout(jPanel2Layout); 152 | jPanel2Layout.setHorizontalGroup( 153 | jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 154 | .addGroup(jPanel2Layout.createSequentialGroup() 155 | .addContainerGap(45, Short.MAX_VALUE) 156 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 157 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() 158 | .addComponent(jButtonCancel, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE) 159 | .addGap(18, 18, 18) 160 | .addComponent(jButtonLogin1, javax.swing.GroupLayout.PREFERRED_SIZE, 101, javax.swing.GroupLayout.PREFERRED_SIZE) 161 | .addGap(77, 77, 77)) 162 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() 163 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 164 | .addComponent(jLabel4, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE) 165 | .addComponent(jLabel5, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 37, javax.swing.GroupLayout.PREFERRED_SIZE)) 166 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) 167 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 168 | .addComponent(jLabel3) 169 | .addComponent(jLabel1)) 170 | .addGap(18, 18, 18) 171 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 172 | .addComponent(jPasswordField, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 176, javax.swing.GroupLayout.PREFERRED_SIZE) 173 | .addComponent(jTextFieldUsername, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 176, javax.swing.GroupLayout.PREFERRED_SIZE)) 174 | .addGap(18, 18, 18) 175 | .addComponent(jCheckBoxShowpass) 176 | .addGap(34, 34, 34)) 177 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup() 178 | .addComponent(jLabelCreatAccount) 179 | .addGap(152, 152, 152)))) 180 | ); 181 | jPanel2Layout.setVerticalGroup( 182 | jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 183 | .addGroup(jPanel2Layout.createSequentialGroup() 184 | .addGap(63, 63, 63) 185 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 186 | .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE) 187 | .addComponent(jTextFieldUsername, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE) 188 | .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)) 189 | .addGap(42, 42, 42) 190 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 191 | .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE) 192 | .addComponent(jPasswordField, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE) 193 | .addComponent(jCheckBoxShowpass) 194 | .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE)) 195 | .addGap(30, 30, 30) 196 | .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 197 | .addComponent(jButtonCancel) 198 | .addComponent(jButtonLogin1)) 199 | .addGap(18, 18, 18) 200 | .addComponent(jLabelCreatAccount) 201 | .addContainerGap(33, Short.MAX_VALUE)) 202 | ); 203 | 204 | javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); 205 | jPanel1.setLayout(jPanel1Layout); 206 | jPanel1Layout.setHorizontalGroup( 207 | jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 208 | .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup() 209 | .addContainerGap() 210 | .addComponent(jLabel2) 211 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 212 | .addComponent(jLabelMn) 213 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) 214 | .addComponent(jLabelCose) 215 | .addGap(17, 17, 17)) 216 | .addComponent(jPanel2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) 217 | ); 218 | jPanel1Layout.setVerticalGroup( 219 | jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 220 | .addGroup(jPanel1Layout.createSequentialGroup() 221 | .addContainerGap() 222 | .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) 223 | .addComponent(jLabelCose) 224 | .addComponent(jLabelMn) 225 | .addComponent(jLabel2)) 226 | .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) 227 | .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 228 | .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 229 | ); 230 | 231 | javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); 232 | getContentPane().setLayout(layout); 233 | layout.setHorizontalGroup( 234 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 235 | .addGroup(layout.createSequentialGroup() 236 | .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 237 | .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 238 | ); 239 | layout.setVerticalGroup( 240 | layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) 241 | .addGroup(layout.createSequentialGroup() 242 | .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) 243 | .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) 244 | ); 245 | 246 | setSize(new java.awt.Dimension(540, 361)); 247 | setLocationRelativeTo(null); 248 | }// //GEN-END:initComponents 249 | 250 | private void jLabelMnMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabelMnMouseClicked 251 | this.setState(JFrame.ICONIFIED); 252 | }//GEN-LAST:event_jLabelMnMouseClicked 253 | 254 | private void jLabelCoseMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabelCoseMouseClicked 255 | System.exit(0); 256 | }//GEN-LAST:event_jLabelCoseMouseClicked 257 | 258 | private void jCheckBoxShowpassActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jCheckBoxShowpassActionPerformed 259 | if(jCheckBoxShowpass.isSelected()){ 260 | jPasswordField.setEchoChar((char)0); 261 | }else{ 262 | jPasswordField.setEchoChar('*'); 263 | } 264 | }//GEN-LAST:event_jCheckBoxShowpassActionPerformed 265 | 266 | private void jLabelCreatAccountMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jLabelCreatAccountMouseClicked 267 | singnupForm supf = new singnupForm(); 268 | supf.setVisible(true); 269 | supf.pack(); 270 | supf.setLocationRelativeTo(null); 271 | supf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 272 | this.dispose(); 273 | 274 | }//GEN-LAST:event_jLabelCreatAccountMouseClicked 275 | 276 | private void jButtonLogin1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonLogin1ActionPerformed 277 | 278 | Connection con = MyConnection.getConnection(); 279 | PreparedStatement ps; 280 | ResultSet rs; 281 | 282 | try { 283 | ps = con.prepareStatement("SELECT `username`, `pass`, `pic`, id FROM `user` WHERE `username`= ? AND `pass`= ?"); 284 | ps.setString(1, jTextFieldUsername.getText()); 285 | ps.setString(2, String.valueOf(jPasswordField.getPassword())); 286 | rs = ps.executeQuery(); 287 | 288 | if(rs.next()){ 289 | 290 | // get the current user id 291 | MyContactsForm.currentUserId= rs.getInt("id"); 292 | System.out.println(rs.getInt("id") + "From Login"); 293 | MyContactsForm mcf = new MyContactsForm(); 294 | mcf.setVisible(true); 295 | mcf.pack(); 296 | mcf.setLocationRelativeTo(null); 297 | mcf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 298 | 299 | // show the user profile picture in top form 300 | mcf.jLabelUserPic.setIcon(new Myfunc().resizePic(null, rs.getBytes(3),mcf.jLabelUserPic.getWidth(), mcf.jLabelUserPic.getHeight())); 301 | 302 | mcf.jLabelUsenamesashen.setText(rs.getString(1)); 303 | 304 | this.dispose(); 305 | 306 | }else{ 307 | JOptionPane.showMessageDialog(null, "Login Error"); 308 | } 309 | 310 | 311 | } catch (SQLException ex) { 312 | Logger.getLogger(loginForm.class.getName()).log(Level.SEVERE, null, ex); 313 | } 314 | 315 | }//GEN-LAST:event_jButtonLogin1ActionPerformed 316 | 317 | private void jButtonCancelActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButtonCancelActionPerformed 318 | System.exit(0); 319 | }//GEN-LAST:event_jButtonCancelActionPerformed 320 | 321 | /** 322 | * @param args the command line arguments 323 | */ 324 | public static void main(String args[]) { 325 | /* Set the Nimbus look and feel */ 326 | // 327 | /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel. 328 | * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 329 | */ 330 | try { 331 | for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) { 332 | if ("Nimbus".equals(info.getName())) { 333 | javax.swing.UIManager.setLookAndFeel(info.getClassName()); 334 | break; 335 | } 336 | } 337 | } catch (ClassNotFoundException ex) { 338 | java.util.logging.Logger.getLogger(loginForm.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 339 | } catch (InstantiationException ex) { 340 | java.util.logging.Logger.getLogger(loginForm.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 341 | } catch (IllegalAccessException ex) { 342 | java.util.logging.Logger.getLogger(loginForm.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 343 | } catch (javax.swing.UnsupportedLookAndFeelException ex) { 344 | java.util.logging.Logger.getLogger(loginForm.class.getName()).log(java.util.logging.Level.SEVERE, null, ex); 345 | } 346 | // 347 | 348 | /* Create and display the form */ 349 | java.awt.EventQueue.invokeLater(new Runnable() { 350 | public void run() { 351 | new loginForm().setVisible(true); 352 | } 353 | }); 354 | } 355 | 356 | // Variables declaration - do not modify//GEN-BEGIN:variables 357 | private javax.swing.JButton jButtonCancel; 358 | private javax.swing.JButton jButtonLogin1; 359 | private javax.swing.JCheckBox jCheckBoxShowpass; 360 | private javax.swing.JLabel jLabel1; 361 | private javax.swing.JLabel jLabel2; 362 | private javax.swing.JLabel jLabel3; 363 | private javax.swing.JLabel jLabel4; 364 | private javax.swing.JLabel jLabel5; 365 | private javax.swing.JLabel jLabelCose; 366 | private javax.swing.JLabel jLabelCreatAccount; 367 | private javax.swing.JLabel jLabelMn; 368 | private javax.swing.JPanel jPanel1; 369 | private javax.swing.JPanel jPanel2; 370 | private javax.swing.JPasswordField jPasswordField; 371 | private javax.swing.JTextField jTextFieldUsername; 372 | // End of variables declaration//GEN-END:variables 373 | } 374 | --------------------------------------------------------------------------------