This is a simple Swing application that checks whether a given year is a leap year or not. The application allows users to input a year and then displays the result as to whether it's a leap year or not.
- Easy-to-use Swing user interface.
- Determines if a year is a leap year or not.
- Provides instant feedback to the user with the result.
To run the Leap Year Checker Swing application, you need to have Java installed on your machine. You can download Java from the official website: https://www.java.com/en/download/
Once you have Java installed, you can follow these steps:
- Clone the repository to your local machine.
git clone Sainarendra21/Leap_year_checker_swing_app
-
Open the project in your preferred Java IDE (e.g., IntelliJ, Eclipse).
-
Compile and run the
main.java
class.
-
Launch the application.
-
Enter the year you want to check in the input field.
-
Click on the "Check" button.
-
The application will display a message indicating whether the year is a leap year or not.