This is a simple Weather Forecast application that provides weather information based on the city input provided by the user.
- Retrieve and display weather information for a given city.
- Display temperature, pressure, humidity, wind speed, visibility, and cloudiness.
- Java Development Kit (JDK) installed
- json-java library (java-json.jar) for handling JSON data. You can find it in the lib directory.
- Clone the repository to your local machine:
git clone https://github.com/0xSakib/WeatherForecast.git
cd WeatherForecast
- Compile the Java source files using the following command:
javac -cp ".:lib/java-json.jar" -d out/production/WeatherForcastApp src/*.java
- Run the application
java -cp ".:lib/java-json.jar:out/production/WeatherForcastApp" WeatherAppGUI
- Clone the repository to your local machine:
git clone https://github.com/0xSakib/WeatherForecast.git
cd WeatherForecast
- Compile the Java source files using the following command:
javac -cp ".;lib/java-json.jar" -d out\production\WeatherForcastApp src\*.java
- Run the application
java -cp ".;lib/java-json.jar;out/production/WeatherForcastApp" WeatherAppGUI
- Enter the name of the city for which you want to get weather information.
- Click on the "Fetch Weather" button.
- The application will display the weather information.
This project is licensed under the MIT License