Results 1 to 4 of 4
  1. #1
    coolking is offline Member
    Join Date
    Feb 2012
    Posts
    2
    Rep Power
    0

    Default Dispatch event Mousemoved more humanlike

    Hello,

    I have currently the following code:
    PHP Code:
    a
                   .dispatchEvent(new MouseEvent(a,
                                       MouseEvent.MOUSE_MOVED,
                                       System.currentTimeMillis(),
                                       MouseEvent.NOBUTTON,
                                       x,y,
                                       0,
                                       false));
    Its to move the mouse, but the problem is it hops to the needed x and y.
    I want it to be more human like.
    How can i do this?

    Thanks,
    Jeffrey

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,242
    Rep Power
    19

    Default Re: Dispatch event Mousemoved more humanlike

    Robot and Timer.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    coolking is offline Member
    Join Date
    Feb 2012
    Posts
    2
    Rep Power
    0

    Default Re: Dispatch event Mousemoved more humanlike

    I dont want to use robot i hate it.
    And it doesnt work with this.

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

Similar Threads

  1. Canvas and mouseMoved()
    By Zman3359 in forum AWT / Swing
    Replies: 6
    Last Post: 07-06-2011, 12:59 AM
  2. Need help finding mouseMoved on a JButton
    By corrax in forum AWT / Swing
    Replies: 2
    Last Post: 05-24-2011, 08:35 AM
  3. Request dispatch from one web app to another
    By karthikus in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 06-15-2010, 07:31 PM
  4. Replies: 5
    Last Post: 04-14-2010, 05:26 AM
  5. Error: Exception during event dispatch!
    By Javid in forum AWT / Swing
    Replies: 1
    Last Post: 08-02-2008, 01:20 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
  •