Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

How Do I Use A Database Research Tools You Can Use

Authors: Laura La Bella

1st Edition

1622753763, 978-1622753765

More Books

Students also viewed these Databases questions

Question

4. Identify cultural variations in communication style.

Answered: 1 week ago

Question

9. Understand the phenomenon of code switching and interlanguage.

Answered: 1 week ago

Question

8. Explain the difference between translation and interpretation.

Answered: 1 week ago