Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Control remote computer

  1. #1
    Junior Member
    Join Date
    Feb 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Control remote computer

    Hello everyone!

    I hope I'm on the right place to ask.

    I'm new to network programming in Java.

    I've read some quick tutorials about this topic.

    I wanna start with a very interesting project.

    One program (let call program A) runs on one computer (let call computer A). One program (let call program B) runs
    on another computer (let call computer B). The computers are connected in LAN network.

    Program A sends a request to computer B. This request is about locking computer B's keyboard (or take a picture of screen shot of computer B). After getting this request, program B send a feedback to computer A, and
    there will be a window on computer A with a CAPTCHA to ensure that the response is generated by a person. After the person on computer A side enters the captcha, let say the computer B's keyboard will be locked.

    I guess my explanation is clear.

    So please give a quick tutorial or any sugesstion to get me started writting code.

    Any help would be greatly appreciated!


  2. #2
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Default Re: Control remote computer

    Writing a client/server application is the easy bit. There are lots of examples of this online..
    Taking a screenshot won't be too hard but i can imagine issues when attempting to disable the keyboard.

    You may need to look into JNI.
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

  3. #3
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: Control remote computer


  4. #4
    Junior Member
    Join Date
    Feb 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Control remote computer

    Quote Originally Posted by Mr.777 View Post
    Thank you all of you.

Similar Threads

  1. How to connect to a remote database?
    By ace84 in forum JDBC & Databases
    Replies: 4
    Last Post: February 24th, 2011, 02:09 AM
  2. MAC of a remote host
    By Ansila Naushad M in forum Java Networking
    Replies: 2
    Last Post: January 27th, 2011, 05:57 AM
  3. Remote Desktop Application
    By Drango in forum Java ME (Mobile Edition)
    Replies: 3
    Last Post: January 24th, 2011, 08:01 AM
  4. Remote Installation
    By manshi in forum Java SE APIs
    Replies: 3
    Last Post: November 2nd, 2010, 05:52 AM
  5. remote system shutdown
    By prince joseph in forum What's Wrong With My Code?
    Replies: 0
    Last Post: March 28th, 2010, 02:35 AM