Recent Topics
-
SocketAsync, can't reconnect to servernick3 - Today, 03:13 AM
-
SQL Server (2008): Passing Table Parameter to Stored ProcedureLuthfi - Yesterday, 10:37 PM
-
DATA STRUCTURE AND ALGORITHM in C++FirdausTaufik - Yesterday, 07:34 PM
-
Purged Wars (Browser based game)Cerrivess - Yesterday, 07:20 PM
-
What can't Tomcat do? J2EEPally - Yesterday, 07:16 PM
Recent Blog Entries
Recent Status Updates
Popular Tags
- Managed C++
- networking
- c
- stream
- programming
- Visual Basic 4 / 5 / 6
- console
- Connection
- import
- authentication
- element
- syntax
- hardware
- session
- sql
- javascript
- array
- printing
- generator
- game
- header
- html5
- mysql
- string
- c++
- timer
- loop
- java
- html
- ajax
- form
- C#
- jquery
- php
- assembly
- linked list
- vb.net
- xml
- android
- css
- login
- encryption
- setup
- calculator
- combobox
- binary
- pseudocode
- hello world
- innerHTML
- grid
Need help in developing remote desktop controller
Started by Raeesaa, Sep 06 2012 03:24 AM
remote desktop controller client server Robot class VNC
3 replies to this topic
#1
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.
#2
Posted 06 September 2012 - 04:33 AM
You'll need:
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.
- 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.
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.
#4
Posted 07 September 2012 - 01:19 AM
Thank you very much Sir..You'll need:
For the stream/socket part, check http://forum.codecal...ng/#entry637890
- 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.
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.
Is this the same project:
http://www.java-foru...controller.html
Ya, it is the same project..
Similar Topics
-

Two monitors when developing
Started by Rakso, 26 Apr 2013 In: General Forums → General Programming
screen, programming, hardware
- Hot 17 replies
- 328 views
-
Pinned
*OFFICIAL* - Post Your Desktop/Wallpaper
Started by xXHalfSliceXx, 25 Nov 2006 In: General Forums → The Lounge- Hot 271 replies
- 450,816 views
-
Difficulty developing the code for a graph in Matlab
Started by jojo6620, 14 Apr 2013 In: General Forums → General Programming
matlab graph help
- Hot 15 replies
- 348 views
-
Remote Control, && Encrypted Radio Signals, Help
Started by Pally, 18 Mar 2013 In: General Forums → General Programming
encryption, remote, control and 2 more...
- 0 replies
- 210 views
-
PHP Remote Server Database Connection Error
Started by KodeKool, 01 Mar 2013 In: Language Forums → PHP
php, database, mysqli, connection and 1 more...
- 6 replies
- 421 views














