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 3 of 3

Thread: help pushing a key without pushing a key

  1. #1
    Member
    Join Date
    May 2011
    Location
    west palm beach, FL
    Posts
    189
    My Mood
    Tired
    Thanks
    41
    Thanked 11 Times in 10 Posts

    Default help pushing a key without pushing a key

    Is it possible to do a keystroke without actually pushing the key? say for instance i want to push the spacebar i just push it with my finger...well is there anyway i can mimic that without actually doing it? i dont need a space i need the act of hitting the spacebar 1 time 2 times 3 times etc without actually touching it

    if this is possible where should i look to figure out how to do this? everywhere i look says to do " " but i dont need the space i need the act of actually pushing the spacebar or the tab key etc.

    thanks


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: help pushing a key without pushing a key

    Perhaps the following class would suffice: Robot (Java Platform SE 6)

  3. The Following User Says Thank You to copeg For This Useful Post:

    derekxec (October 23rd, 2011)

  4. #3
    Member
    Join Date
    May 2011
    Location
    west palm beach, FL
    Posts
    189
    My Mood
    Tired
    Thanks
    41
    Thanked 11 Times in 10 Posts

    Default Re: help pushing a key without pushing a key

    yesssss thank you soooo much that will work great