SRL Archive - Java Help and Tutorials

Paint Pad - Multi-User Drawing


Yakman

2007-03-23 18:30:54

You people know MsPaint and PhotoShop where you can draw freehand?
This is like that, except two people can connect together, what one person draws will appear on the other persons screen as well.

This is a screenshot of two of these connected through localhost 127.0.0.1



I'm fairly sure something like this has been made before, but I made it anyway

Thanks a lot to everyone who made their programs open source, i learned a lot from other people around places

I'v already used to this to draw with someone almost on the other side of the world, it was efficent enough for that, everytime it sends a curve it only sends 7 bytes.

Remember you can connect to yourself with localhost

So what do you think? :)

i also found a website which has a flash object, that does a very similar thing
http://www.imaginationcubed.com/imagine

Ruroken

2007-03-24 19:21:51

:) Yay for me who helped test :)

Its really nice folks. Me and Yak drew on Hitler's face :p twas fun

Smartzkid

2007-03-24 19:56:30

Wow, thats pretty snazzy! :p Kinda like the pictochat thing on DS's

Martin

2007-04-14 12:00:08

Yak thats amazing! also in msn messenger its called whiteboard ;) or it might be windows messenger o.O

Boreas

2007-04-14 13:42:53

Anyone know something like this cept with text?

Yakman

2007-04-14 16:03:41

hey Boreas, a text version of this is very easy to make, in fact, i learnt most of my java sockets by looking at a text version,

heres the link, you have to compile it yourself, if there are problems i could do it for you

Source code
Tutorial page it talks about the above source code about 1/5 of the way down, press ctrl + f and type in 'GUIChat.java'

Boreas

2007-04-14 16:12:23

Thanks!

Lorax

2008-06-07 12:44:51

I am digging this post up becuase this it NICE! :)

Ruroken

2008-06-08 17:31:18

:O

Its Lorax!

Harry

2008-06-08 18:00:14

Good job Lorax!! ^^.