Results 1 to 2 of 2
  1. #1
    noobgrammer is offline Member
    Join Date
    Jun 2010
    Posts
    9
    Rep Power
    0

    Exclamation How do you set the mouse cursor location?

    I want to be able to change where the location of the mouse pointer is to a new location after a certain events happens, I'm not using JTextComponent, is there a way to do that?
    Last edited by noobgrammer; 07-20-2010 at 12:57 AM.

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,308
    Rep Power
    25

    Default

    Look at the Robot class. It can set the cursor's location.

Similar Threads

  1. JList Location
    By BeeGee in forum Advanced Java
    Replies: 8
    Last Post: 04-07-2010, 03:09 PM
  2. need to copy file from one location to another location
    By naveen.dpt2007 in forum New To Java
    Replies: 4
    Last Post: 02-28-2010, 03:53 PM
  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. location provider returns no location
    By sandeeprao.techno in forum CLDC and MIDP
    Replies: 0
    Last Post: 09-24-2009, 09:54 AM
  5. File Location
    By bcbird in forum New To Java
    Replies: 1
    Last Post: 09-17-2009, 08:03 AM

Posting Permissions

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