Results 1 to 3 of 3
  1. #1
    crikey is offline Senior Member
    Join Date
    Jul 2010
    Posts
    125
    Rep Power
    0

    Default How to simulate mouse/key in a component?

    Hi all :)
    I have been constructing a program in java, and wanted to create virtual mouse/key that would operate inside a component in my GUI. It would be a would have to not interfere the the primary mouse/keyboard functions. Any ideas? Thanks!

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,302
    Rep Power
    20

    Default

    Quote Originally Posted by crikey View Post
    Hi all :)
    I have been constructing a program in java, and wanted to create virtual mouse/key that would operate inside a component in my GUI.
    java.awt.Robot

    It would be a would have to not interfere the the primary mouse/keyboard functions.
    Not an option.

    db

  3. #3
    crikey is offline Senior Member
    Join Date
    Jul 2010
    Posts
    125
    Rep Power
    0

    Default

    Thanks db for your reply-
    I know for a fact that it can be done. I have seen it in bots a whole lot.

Similar Threads

  1. How to simulate browser CTRL+F function
    By crisfromnova in forum SWT / JFace
    Replies: 1
    Last Post: 09-14-2010, 02:41 PM
  2. Simulate a Network using Java
    By fung1223 in forum New To Java
    Replies: 0
    Last Post: 01-13-2010, 10:46 AM
  3. Mouse Listener for mouse floating over object?
    By Krooger in forum AWT / Swing
    Replies: 1
    Last Post: 11-18-2009, 04:34 AM
  4. Replies: 0
    Last Post: 07-25-2008, 02:26 PM
  5. simulate message box
    By pablitohh in forum New To Java
    Replies: 1
    Last Post: 12-05-2007, 04:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •