This project provides an implementation of a shared whiteboard, allowing multiple users to draw on the same canvas concurrently. It showcases the application of multi-threading in Java.
iShot_2023-09-10_13.14.06.mp4
- Real-time Drawing: Users can see each other's drawings in real-time.
- Multi-Threading: Efficient handling of multiple users drawing at the same time.
- Easy-to-Use Interface: Intuitive UI/UX for a better user experience.
- RealTime-ChatBox: Log in users can chat at anytime with the others.
- Color & Tool Selection: Various drawing tools and colors for users to choose from.
- Java: The primary programming language for the back-end.
- JavaAWT: Using AWT to implement user graphical interface
- Sockets: Using Sockets to implement the real time user join in and data transfer.
- Java JDK 17
- gson-2.10.1
- Clone the repository:
git clone https://github.com/yourusername/shared-whiteboard.git
2. Navigate to the project directory:
```bash
cd whiteBoard
-
Run the program:
method 1: Running the src/main/manager/Server.java first. Running the src/main/client/ClientLoginWindow.java(ClientLoginWindow2.java). method 2: In the out/artifacts/dsassignment2_jar(dsassignment2_jar2. Running the CreateWhiteBoard.jar,JoinWhiteBoard.jar one by one.
- Start the server.
- Launch the client whiteboard.
- waiting for server permission.
- Connect to the shared whiteboard.
- Begin drawing and watch as other users join and draw concurrently.
This project is licensed under the MIT License.
For any inquiries or feedback, please reach out to:
- Email: www.liusky@gmail.com