Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This programming assignment involves the creation of a Weather Information App in Java with a graphical user interface ( GUI ) to provide real -
This programming assignment involves the creation of a Weather Information App in Java with a graphical user interface GUI to provide realtime weather updates.
This assignment aims to cover API integration and data retrieval in Java, GUI application development using either JavaFX or Java Swing, as well as user input validation and error handling.
Assignment Instructions
Scenario: You are tasked with developing a Weather Information App in Java that provides realtime weather updates to users. The application should have a graphical user interface GUI to display weather details for a specific location.
Requirements:
API Integration:
a Utilize a weather API such as OpenWeatherMap, Weatherstack, or any of your choice to fetch realtime weather data.
GUI design:
a Design a userfriendly GUI using JavaFX or Java Swing.
b Include components for users to input the location eg city name or coordinates
Display Weather Information:
a Display relevant weather information such as temperature, humidity, wind speed, and conditions for the specified location.
Icon Representation:
a Use appropriate icons or images to visually represent weather conditions eg sun for clear sky clouds for cloudy weather
Forecast Display:
a Implement a section to display a shortterm weather forecast for the chosen location.
Unit Conversion:
a Include an option to switch between different units for temperature Celsius Fahrenheit and wind speed.
Error Handling:
a Implement proper error handling for scenarios like invalid location input or failed API requests.
History Tracking:
a Allow users to view a history of their recent weather searches with timestamps.
Dynamic Backgrounds:
a Implement dynamic background changes based on the time of day eg a sunset background in the evening
Guidelines
Submit wellcommented Java source code.
Include a README file explaining how to use the Weather Information App and providing details about your implementation.
Grading Criteria
Your assignment will be evaluated based on the following criteria:
API Integration: Students need to utilize a weather API for realtime weather data. Successful integration and retrieval of relevant weather information. Appropriate use of API key and adherence to API usage guidelines.
GUI Design: Userfriendly design with clear navigation. Uses JavaFX or Java Swing for graphical interface. Components for user input city name or coordinates are wellimplemented.
Logic and Computation
Program Flow and Structure
Output
Code Style and Readability
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started