How do I write my own desktop sharing application in java ?

Posted by nomemory on Stack Overflow See other posts from Stack Overflow or by nomemory
Published on 2010-03-19T15:19:56Z Indexed on 2010/03/19 15:21 UTC
Read the original article Hit count: 292

Filed under:
|
|

Hello I want write my own desktop sharing application in Java.

The application should have some very default features:

  • Capture screen;

  • Allow a remote connected user to click / edit fields.

I was thinking to use Java Robot class for mouse movements / key pressing. The problem is i don't know what screen capture strategy to use.

Should I make sequentially screen captures (on the hosting computer) every second, and send those captures with UDP via network, so that the clients can intercept the data-grams ? Isn't this a little overkill for the network ?

What other strategies are available ? (Except trying an already existing app).

PS: If necessary I can even write native code using JNI (still that's the last thing I planning to do).

© Stack Overflow or respective owner

Related posts about java

Related posts about desktop-sharing