Question: 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 real-time 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 real-time weather updates to users. The application should have a graphical user interface (GUI) to display weather details for a specific location.
Requirements:
1. API Integration:
a. Utilize a weather API (such as OpenWeatherMap, Weatherstack, or any of your choice) to fetch real-time weather data.
2. GUI design:
a. Design a user-friendly GUI using JavaFX or Java Swing.
b. Include components for users to input the location (e.g., city name or coordinates).
3. Display Weather Information:
a. Display relevant weather information such as temperature, humidity, wind speed, and conditions for the specified location.
4. Icon Representation:
a. Use appropriate icons or images to visually represent weather conditions (e.g., sun for clear sky, clouds for cloudy weather).
5. Forecast Display:
a. Implement a section to display a short-term weather forecast for the chosen location.
6. Unit Conversion:
a. Include an option to switch between different units for temperature (Celsius, Fahrenheit) and wind speed.
7. Error Handling:
a. Implement proper error handling for scenarios like invalid location input or failed API requests.
8. History Tracking:
a. Allow users to view a history of their recent weather searches with timestamps.
9. Dynamic Backgrounds:
a. Implement dynamic background changes based on the time of day (e.g., a sunset background in the evening).
Guidelines
Submit well-commented 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 real-time weather data. Successful integration and retrieval of relevant weather information. Appropriate use of API key and adherence to API usage guidelines.
GUI Design: User-friendly design with clear navigation. Uses JavaFX or Java Swing for graphical interface. Components for user input (city name or coordinates) are well-implemented.
Logic and Computation
Program Flow and Structure
Output
Code Style and Readability

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!