Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9100487
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T00:52:43+00:00 2026-06-17T00:52:43+00:00

I want to create java code which will stimulate a mouse click on any

  • 0

I want to create java code which will stimulate a mouse click on any window of a windows OS application – eg browser, word etc.

Can someone suggest how I can begin ? I don’t know which API’s are needed for this.
I also need to know if this is a very complex task and will require more than just
core concepts of Java.

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T00:52:44+00:00Added an answer on June 17, 2026 at 12:52 am

    The class you would want to use for this task is the Robot class: http://docs.oracle.com/javase/7/docs/api/java/awt/Robot.html

    It may require more knowledge than the core concepts (depending on what you consider core), but Java is a good language to deal with this kind of thing.

    Depending on what you seek to do with this knowledge, this may end up a very complex task. For example, if you sought to click on a specific button on the screen, you would need some way to analyze the screen (a very hard task). If you know where every button is already, you just move to the x, y location and cause a click to occur.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to unit test my code which will have to create a .java
I have a java project I want to create which will be built on
I want to create a capped collection from Java code. I found the syntax
Say I want to create a sort of Pre-processor for existing java code, so
I want to create a Java Desktop Application and want to employ some mechanism
i want to create a messagebox which will be automatically close without users input.
I have some code which uses java.awt.Color. I want to translate my Java Code
Using mysql, c#.net, Java Script I have the web application, i want to create
I'm developing a console Java application(Not swing) using java.awt.Desktop class, which will launch the
I need to create a porting software that will convert Java code to C#

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.