How dimas05-code/bpjava works
This is a small JavaFX login and account-registration application. Its implemented workflow launches the login screen, allows navigation to registration, checks that the entered passwords match, builds a user record, and attempts to save it to MySQL. Login authentication, password recovery, and returning from registration are currently empty or placeholder actions. The FXML files are present in the tree, but their contents were not sampled, so their controller bindings cannot be confirmed.
Main entry points: RegistrasiController.java Registration Controller · UserDAO.java User DAO · App.java Application Launcher · LoginController.java Login Controller
Components 10
JavaFX UI
- Application Launcher
src/app/App.java - Login Screen
src/views/halamanLogin.fxml - Login Controller
src/controller/LoginController.java
Account Registration
- Registration Screen
src/views/Register.fxml - Registration Controller
src/controller/RegistrasiController.java - User Record
src/model/User.java
User Persistence
- User DAO
src/model/UserDAO.java - DB Connector
src/model/ConnectDB.java
Other components
- User
- MySQL Database
Connections 10
- User → Application Launcher: launches
- Application Launcher → Login Screen: loads
- User → Login Controller: submits actions
- Login Controller → Registration Screen: loads
- User → Registration Controller: submits registration
- Registration Controller → User Record: creates
- Registration Controller → User DAO: saves user
- User DAO → DB Connector: requests connection
- DB Connector → MySQL Database: connects
- User DAO → MySQL Database: inserts user