Weather Widget

Keeping Me Up to Date On The Weather

the weather widget

The first screen the user is shown is the current weather information about Chicago. The top of the screen is populated by the name of the selected city, the coordinates, the temperature, and the drop down menu. The center of the screen has an image that represents the current weather type. For example, "Rain" will be accompanied by a picture of rain, and "Clouds" will have a picture of a cloudy sky. Also in the middle of the screen is date and time information. This information is relative to the selected city. Finally, the bottom of the screen has a chart of 3 metrics used to determine weather conditions, "Humidity", "Wind Speed", and "Visibility".

I created Weather Widget because I had 2 specifc goals in mind. Firstly, I wanted to learn how to use Java to make applications, so this project was done entirely in Java using the JavaFX framework. Secondly, I wanted to learn more about APIs, and in this project I used the OpenWeather API. I learned how to make http requests to a webserver using Java. I also learned how to parse through the retrieved data, which was formatted as a JSON. Even though I completed my goals, this project is not done. I believe I can improve on it some more. For example, I plan on changing from a drop down selection to a search bar. This will allow the user to inquire about any city's weather, instead of a select few. I also will add an option to change the measurements between Imperial and Metric. Currently, there is a mix between the two systems.