A Collaborative Java Painter using SWING.
- This CoPainter looks better in Mac OS, and other Unix based OS. The GUI looks a bit stranged in windows.
- I finish this CoPainter in my sophomore year, it is just for fun.
- I am considering using Javascript or Qt to rewrite it.
- Do not copy contents of this repo for course assignments. You should take the responsibility for any form of plagiarism.
cd src
javac CoPainter.java
java CoPainter
- For the host, it will automatically detect your IP, what you need to do is to select a port.
- For the clients, you need to provide the host IP and port you want to connect to.
- For both host and clinets, you can customize color and brush size. The
Color
button allows you to choose whatever color you like, and theMore
buttom enables you to input the exact size and RGB color. - Both host and clinets can save their work, but only host can load.
- Only host can clear the screen. When host leaves, the clients will be forced to exit. A pop up window will remind the host and the clients to save their work.