Question
Java Weather App Project 1) Main screen - display the location (City, State), and high and low temperature for the current day 2) Edit screen
Java Weather App Project
1) Main screen - display the location (City, State), and high and low temperature for the current day
2) Edit screen - update the city and state and save it to the database
Your app must use JavaFX for the UI and you can set up the UI using fxml files or pure Java code. The weather app will store the City and State (or zip code) in a Sqlite database (via a model class that uses JDBC). Once the user saves the updated City and State, it will take them back to the main screen.
Needs:
Screen 1: Display location and high and low temps clearly
Screen 2: Provide a form to update the location (city, state) and a save button
Database: Store location in database, and allow it to be updated via JDBC
Parsing: Parse the web API results (either XML or JSON) successfully
Style and presentation: Set up the project according to MVC (model view controller), good style, clarity
Weather web API:
Though there are many web APIs available, use yahoo! as it provides both JSON and XML results (you may use either)
Additional:
Cache the web API results in the database and only update them once per hour
Allow multiple cities
Display an icon for sunny/cloudy/storm/snow/rain weather
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