This is a simple whiteboard app that teacher can draw shapes from menu and students can see the shapes simultaneously. I made this project for the beginners that they want to learn proccesses about Java Graphics and Socket Programming.
Server(Teacher) and client(Student) can run only in the same PC.
Painter.java handle the paint operations of MyServer.java ClientPainter.java handle the paint operations of MyClient.java
The program can run in all different OS's (eg. Windows, Mac, Linux.)
- Java 11.01 must be installed before running the program.
- The duration of class is 50 minutes.
- Teacher can draw square, rectangle,triangle and circle
- Draw Shape panel shows you how many shapes drew
- Raise hand button sends a message to teacher "Someone raised hand!"
- There are two ways to run the program:
-
First way: You can use Jar files in the: Project directory => out => artifacts => WhiteboardApp_jar (Server (Teacher)) and WhiteboardApp_jar2(Client (Student))
-
Second way: You can first run ServerMain.java then ClientMain.java
-
You need to select Draw from menu bar.
-
When you pressed a shape, program automatically asks you how you want to draw the shape empty or filled shape you need to enter 1 in the field for empty or 2 for filled shape.
-
Then just click the screen.
-
If you want to draw a different shape just select Draw from menu bar again.
- CLİCK EXİT BUTTON FROM MENU IN MENU BAR. OTHERWISE THE PROGRAM WİLL CONTINUE RUNNING IN BACKGROUND !!!