A java swing Gym Management project that consists of three types of user logins--Admin, Manager, Customer. This project is helpful for people looking for a basic, simple and effective swing project. This desktop application also has a database connectivity with jdbc drivers of java and has an example of all the basic sql operations.
- Beautiful and simple GUI
- Different functionality for different users
- Shows an example of java swing and jdbc connectivity
- User is given an option to login as either an admin, manager or a customer.
- Once an option is selected the user is asked for a userid and a password.
- If the entered credentials match with the database, the user is sent to the next screen.
- According to the type of user, there are various functions that it can perform.
- Some of the operation include:-
- Fetching and viewing the database columns.
- Deleting data from database.
- Adding data into database.
- Updating the data into database like changing userid or passwords.
Netbeans 8.2
This project requires the following jar files to be added.
Download these JAR files and open the project in Netbeans IDE and add these jars by right clicking on the libraries folder (shown in the Project window of Netbeans)
- Create a database named demodb
- Import the db.sql file into the demodb database_(The db.sql file is present inside the database folder)_.
Note - If you are unable to import the db.sql file, for example while using community edition of some DBMS softwares, then you can also just simply create a database named demodb and execute the queries given in db.sql.
- Once the database server is setup, open the project in netbeans and run the project.
The id and password for all types of users are user1 and pass1. This can be changed either from the database directly or after logging in the desktop application.
mailto: a.081005@gmail.com
MIT License
Copyright (c) 2019 Animesh Sharma
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.