Weather Application using Java Swing

Weather Application in Java (MVC + Maven + Jackson + Joda API) | Desktop Project

Weather Application in Java (MVC + Maven + Jackson + Joda API)

Author: Ajay Pal | Category: Java, Desktop Application, Weather API

Overview

This application displays weather information such as wind speed, temperature, humidity, and more. The project is based on the MVC pattern and uses:

  • Maven for dependency management
  • Jackson API to convert JSON objects to Java objects
  • Joda-Time API to handle date and time
  • Weatherstack API to fetch live weather information

Setup Instructions

Step 1: Get Your API Key

First, create an account on https://weatherstack.com/ to obtain your API key.

Step 2: Configure the Project

  1. Go to the Control folder: com.weatherapplication.control
  2. Open WeatherApiDataController.java
  3. Paste your API key where the text Enter_API_KEY appears.

Screenshots & Demo

1. Splash Screen

Java Weather Application splash screen with app logo and loading indicator
Figure 1: Application splash screen

2. Night Mode

Java Weather Application night mode showing dark theme with weather details
Figure 2: Night mode UI

3. Day Mode

Java Weather Application day mode showing light theme with weather details
Figure 3: Day mode UI

4. Video Demo

Video 1: Weather Application demo

Get the Source Code

Click here to get the full project code on GitHub

No comments: