Click2Test is a Java Swing & AWTβbased online test application that provides an interactive multiple-choice exam environment with a timer, navigation panel, and automatic result evaluation.
-
Displays exam instructions.
-
Includes a confirmation checkbox (exam starts only when checked).
-
Start button to begin the test.
-
Timer starts as soon as the exam begins.
-
Questions presented in MCQ format with four options (radio buttons).
-
Right-side navigation panel with question numbers:
π© Green β Attempted
π₯ Red β Visited but Unattempted
β¬ Grey β Not Visited
-
Navigation buttons at the bottom:
π¨Previous β go to previous question
π¦Next β move to next question
π₯Submit β end the exam and view results
-
Displays:
β Score
π Total questions
βοΈ Questions attempted
βοΈ Correct answers
β Wrong answers
-
If time runs out:
-
A dialog box appears β βTimeβs up!β
-
Scoreboard is displayed automatically.
-





-
Java
-
Swing (GUI framework)
-
AWT (GUI components)
- Clone this repository:
git clone https://github.com/rupsaaa/Click2Test.git
- Navigate to the project folder:
cd Click2Test
- Compile the program:
javac Click2Test.java
- Run the application:
java Click2Test
-
Add question randomization for each exam attempt.
-
Implement database connectivity for storing results.
-
Add user login/register system for multiple users.
-
Provide review mode after submission.
This project was created by me to practice Java Swing & AWT concepts such as event handling, layout management, and GUI-based test applications.