Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は Java でリモート コンピューティング プロジェクトを行っています。Robot クラスを使用して、クライアント システムのスナップショットを取得できます。しかし、クライアントシステムでマウスの移動、マウスのクリック、キーの押下などのイベントを作成するにはどうすればよいですか?
Look further down the JavaDocs for the Robot class.
(new Robot()).mouseMove(x, y); (new Robot()).mousePress( buttons ); (new Robot()).keyPress( keycode );