Jump to content




Recent Status Updates

  • Photo
      18 Aug
    KodeKool

    When faced with a wall of errors and no hope to fix them, remember the following "Programs always do what you tell them to, and seldom what you want them to, but eventually you'll run out of things that can go wrong and it'll just work. and that's the secret to good programming."

    Show comments (2)
View All Updates

Developed by Kemal Taskin
Photo
* * * * - 1 votes

Need help in developing remote desktop controller

remote desktop controller client server Robot class VNC

  • Please log in to reply
3 replies to this topic

#1 Raeesaa

Raeesaa

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts
  • Programming Language:C, Java, C++
  • Learning:PHP

Posted 06 September 2012 - 03:24 AM

Hi. I am a final year MCS student and doing a project called java remote desktop controller. It is based on client-server architecture. In this the server will remotely access the client PC and perform different mouse and keyboard events. The server should be able to completely access the client PC. I would like to know what classes should I use in order to achieve this. I am aware about Robot class for controlling mouse and keyboard events. I would really be grateful if I can get some guidance in it. Thank you.
  • 0

#2 wim DC

wim DC

    Roar

  • Expert Member
  • PipPipPipPipPipPipPipPip
  • 2,560 posts
  • Programming Language:Java, JavaScript, PL/SQL
  • Learning:Java, PHP

Posted 06 September 2012 - 04:33 AM

You'll need:
  • The Robot as you said (you also take screenshots with it)
  • java.net.Socket
  • java.net.ServerSocket
  • java.io.OutputStream
  • java.io.InputStream
  • --maybe some othe streams and or Reader and Writer
  • a whole lot of javax.swing.* (For the GUI) including JFrame, JPanel most likely
  • a whole lot of java.awt.* (For the GUI as well) including java.awt.event.MouseListener, MouseMotionListener.
For the stream/socket part, check http://forum.codecal...ng/#entry637890
There I send text, and a file, and some more text.
Instead of text you'll be sending mouse coordinates/click events.(If you think you're better off sending Objectst instead of text >> ObjectInputStream + ObjectOutputStream)
Instead of a file you'll be sending a screenshot over.

For the GUI part you're best off Googling for swing tutorials.
  • 1

#3 Norm

Norm

    CC Addict

  • Senior Member
  • PipPipPipPipPip
  • 396 posts
  • Location:Eastern Florida
  • Programming Language:Java, C++, Assembly

Posted 06 September 2012 - 05:44 PM

Is this the same project:
http://www.java-foru...controller.html
  • 0

#4 Raeesaa01

Raeesaa01

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 07 September 2012 - 01:19 AM

You'll need:

  • The Robot as you said (you also take screenshots with it)
  • java.net.Socket
  • java.net.ServerSocket
  • java.io.OutputStream
  • java.io.InputStream
  • --maybe some othe streams and or Reader and Writer
  • a whole lot of javax.swing.* (For the GUI) including JFrame, JPanel most likely
  • a whole lot of java.awt.* (For the GUI as well) including java.awt.event.MouseListener, MouseMotionListener.
For the stream/socket part, check http://forum.codecal...ng/#entry637890
There I send text, and a file, and some more text.
Instead of text you'll be sending mouse coordinates/click events.(If you think you're better off sending Objectst instead of text >> ObjectInputStream + ObjectOutputStream)
Instead of a file you'll be sending a screenshot over.

For the GUI part you're best off Googling for swing tutorials.

Thank you very much Sir.. :)

Is this the same project:
http://www.java-foru...controller.html


Ya, it is the same project..
  • 0