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

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!