This Java Swing application provides a sleek and user-friendly interface for user registration, login, and an online quiz. It features a modern design with intuitive controls and seamless functionality.
🔐 User Registration: Easily register with a username, password, security question, and answer.
🔑 User Login: Conveniently log in with your registered credentials.
❓ Forgot Password: Retrieve your password by answering the security question.
📝 Online Quiz: Engage in an interactive online quiz experience.
🏆 Quiz Result: View your quiz score along with your name.
-
Registration:
- Click on the "Register" button.
- Enter your desired username, password, security question, and answer.
- Click "Register" to complete the registration process.
-
Login:
- Enter your username and password.
- Click "Login" to access your account.
-
Forgot Password:
- If you forget your password, click on the "Forgot Password?" button.
- Enter your username and answer the security question to retrieve your password.
-
Take Quiz:
- Upon logging in, click on the "Login" button to proceed.
- Answer the quiz questions.
- Click "Submit" to view your quiz score.
📄 Registered User Credentials: User registration information is securely saved and can be accessed anytime.
📊 Quiz Results: Your quiz scores are stored with your name for future reference.
LoginApp.java
: Main class for the login application.User.java
: Class representing a user with registration information.UserDatabase.java
: Class handling user data loading and saving.ForgotPasswordApp.java
: Class for handling password retrieval.OnlineTest.java
: Class for conducting the online quiz.