https://github.com/afa-farkhod/registration-form
Registration Form Windows Desktop Application built on Eclipse Window Builder
https://github.com/afa-farkhod/registration-form
desktop-application eclipse-ide java swing-gui windowbuilder
Last synced: 2 months ago
JSON representation
Registration Form Windows Desktop Application built on Eclipse Window Builder
- Host: GitHub
- URL: https://github.com/afa-farkhod/registration-form
- Owner: afa-farkhod
- License: gpl-3.0
- Created: 2023-03-07T00:20:17.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-02T02:03:05.000Z (almost 2 years ago)
- Last Synced: 2025-02-02T01:13:32.914Z (4 months ago)
- Topics: desktop-application, eclipse-ide, java, swing-gui, windowbuilder
- Language: Java
- Homepage:
- Size: 44.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Registration-Form
Registration Form Windows Desktop Application built on Eclipse Window Builder
![]()
- After optimizing the code here is the updated app:
![]()
- Latest UI update, including the Exit button removal, instead Exit is now available in the File menu:
![]()
## [Implementation](https://github.com/af4092/Registration-Form/tree/main/Registration/src)
- `Java Swing` application that implements a user registration form. It uses various Swing components such as `JFrame`, `JPanel`, `JLabel`, `JTextField`, `JRadioButton`, `JButton`, `JTable`, `JComboBox`, etc. to create a graphical user interface.
- The application allows users to register by entering their personal information such as name, address, age, gender, mobile number, email, username, and password. Users can also view the registered users' information in a table and perform operations like deleting records.
- The main class in the code is `RegistrationForm`, which extends `JFrame` and serves as the main window for the application. It contains methods for handling user interactions, database operations, and GUI setup.
- Here's a brief overview of the code:
- The `main` method creates an instance of the `RegistrationForm` class and makes it visible.
- The `RegistrationForm` class defines the main JFrame and sets up the user interface components.
- The `clock` method is used to display the current time.
- The `fillComboBox` method retrieves data from the database and populates the `comboBoxName` JComboBox component with the names of registered users.
- The `RegistrationForm` constructor sets up the main frame, menu bar, labels, text fields, radio buttons, buttons, table, scroll pane, and event listeners.
- The event listeners handle actions such as registering a user, clearing the form, loading data from the database, deleting records, etc.
- The database connection and CRUD operations are performed using `JDBC` (Java Database Connectivity) with a MySQL database.