The AntiIdle project is a simple Java application that simulates user activity to prevent system idle sleep. It includes a graphical user interface (GUI) with buttons to start and stop the idle simulation.
- Moves the mouse cursor periodically to prevent system idle sleep.
- Simulates key presses to maintain system activity.
- Provides a user-friendly GUI interface for controlling the idle simulation.
- Java Development Kit (JDK) 17 or higher.
- A system with AWT and Swing support.
-
The GUI will appear. Click the Start Idle button to begin the idle simulation.
-
To stop the simulation, click the Stop Idle button.
- Ensure that your system supports the
Robot
class functionalities used for simulating input events. - This application is intended for educational purposes to demonstrate basic GUI programming and threading in Java.
Contributions are welcome! If you have suggestions, improvements, or bug fixes, please feel free to submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.