- Ubuntu20.04
- Java (Server and Client)
- Java Swing (GUI)
- MongoDB (Database)
We build an exam simulator GUI executable under a Java Maven project. This exam system serves as both server and client system. Java Swing is used to design GUI layout. The application contains sign-up page, exam page, and result page. The user informations stored in mongo database. The exam is only allow user to register with an email ONCE.
ps.: user and exam result information are stored in users and results collection respectively.
- Install Java JRE
$ sudo apt install openjdk-17-jre-headless -y
- Install Java JDK
$ sudo apt install default-jdk
- Install mongodb with mongo compass
$ sudo systemctl start mongod
- create exam_simulator datalake and questions collection, and import exam_simulator.questions.json into questions collection
$ java -jar ./exam_simulator.jar
- MongoDB Java
- Create your First Java Frame using Visual Studio Code | Create Java GUI Forms using VS Code
- Java AWT | GridLayout Class
- How to Set JPanel's Width and Height?
- How to Use GridBagLayout
- Java GUI Tutorial #14 - GridBagLayout Manager In Java GUI Swing Explained
- 【從零開始學 Java 程式設計】JRadioButton 元件
- HashMap get() Method in Java
- How to replace existing value of ArrayList element in Java [duplicate]
- Extract Multiple Fields Using MongoDB 3.2.0 Java Driver
- How to Iterate HashMap in Java?
- Java ArrayList
- How to make multiple values per key in a Java map possible example
- How to save Timestamp type value in MongoDb | Java
- How to compare strings in Java
- How can I remove a JPanel from a JFrame?