S
solomon13000
I came across a code that shows how to implement a java whiteboard.
The code can be found at:
http://www.cs.unc.edu/Courses/comp117/members/lim/a3/whiteboardappletsoucecode.html
I am trying to figure out how to implement it in a network
environment.
The idea I have is to grab what is drawn on the panel, convert it into
an object, and send it to
other clients using a socket connection. Now for this case how do I
grab what is drawn on the
panel and turn it into an object which can be send using a socket to
the other clients so that
they can see the changes on the whiteboard.
Your help is kindly appreciated.
Regards
Eugene
The code can be found at:
http://www.cs.unc.edu/Courses/comp117/members/lim/a3/whiteboardappletsoucecode.html
I am trying to figure out how to implement it in a network
environment.
The idea I have is to grab what is drawn on the panel, convert it into
an object, and send it to
other clients using a socket connection. Now for this case how do I
grab what is drawn on the
panel and turn it into an object which can be send using a socket to
the other clients so that
they can see the changes on the whiteboard.
Your help is kindly appreciated.
Regards
Eugene