Create a JavaFX GUI program that allows a user to input the name of a state and display the state capital and population for that state. When the program starts, it should first READ and load the data Open the data file (download attached file) and read the data. Create a StateCapital object for each capital and add it to a Map. Close the data file. You will need to create a class called StateCapital consisting of the following data - city - state - population Include a constructor, accessor and mutator methods for each data members Override the toString method. here is everything in the txtfile witch is the picture

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Create a JavaFX GUI program that allows a user to input the name of a state and display the state capital and population for that state.
When the program starts, it should first
READ and load the data
Open the data file (download attached file) and read the data. Create a StateCapital object for each capital and add it to a Map. Close the data file.
You will need to create a class called StateCapital consisting of the following data
- city
- state
- population
Include a constructor, accessor and mutator methods for each data members
Override the toString method.
here is everything in the txtfile witch is the picture
 
Alabama Montgomery
Alaska Juneau "31,275"
Arizona Phoenix "1,608,139"
Arkansas
Little Rock
California
Sacramento
Colorado
Denver "715,522"
Connecticut
Hartford
Delaware
Florida Tallahassee
Georgia Atlanta "498,715"
Hawaii Honolulu
Idaho
Dover "26,047"
"196,169"
"350,964"
Boise "235,684"
Maine Augusta
Maryland
Massachusetts
Michigan
Minnesota
Mississippi
"200,603"
Illinois
Indiana Indianapolis
Iowa
Des Moines
Kansas Topeka "126,587"
Kentucky
Frankfort
Louisiana
Springfield
Baton Rouge
"19,136"
Annapolis
Missouri
Montana Helena
Nebraska
Nevada Carson City
New Hampshire
New Jersey
New Mexico
New York
North Carolina
North Dakota
Ohio Columbus
"202,591"
"524,943"
"121,054"
"887,642"
"214,133"
Boston "675,647"
Lansing "112,644"
Saint Paul
"311,527"
Jackson "153,701"
Jefferson City "43,079"
"28,190"
Lincoln "291,082"
Oklahoma
Oregon Salem
Pennsylvania
Rhode Island
South Carolina
South Dakota
Tennessee
Nashville
Texas Austin "961,855"
Utah
Vermont Montpelier
Virginia
Washington
"114,394"
"55,274"
Concord "42,695"
Trenton "84,913"
Santa Fe
Albany "97,856"
Raleigh "467,665"
Bismarck
West Virginia
Wisconsin
Wyoming Cheyenne
"25,527"
"227,470"
"38,394"
"61,272"
"905,748"
Oklahoma City "681,054"
"175,535"
Harrisburg
Providence
Columbia
Pierre "13,646"
Richmond
Olympia "46,478"
"67,947"
Salt Lake City "199,723"
"7,855"
"49,528"
"190,934"
"136,632"
"689,447"
"226,610"
"51,400"
Charleston
Madison "269,840"
"64,019"
Transcribed Image Text:Alabama Montgomery Alaska Juneau "31,275" Arizona Phoenix "1,608,139" Arkansas Little Rock California Sacramento Colorado Denver "715,522" Connecticut Hartford Delaware Florida Tallahassee Georgia Atlanta "498,715" Hawaii Honolulu Idaho Dover "26,047" "196,169" "350,964" Boise "235,684" Maine Augusta Maryland Massachusetts Michigan Minnesota Mississippi "200,603" Illinois Indiana Indianapolis Iowa Des Moines Kansas Topeka "126,587" Kentucky Frankfort Louisiana Springfield Baton Rouge "19,136" Annapolis Missouri Montana Helena Nebraska Nevada Carson City New Hampshire New Jersey New Mexico New York North Carolina North Dakota Ohio Columbus "202,591" "524,943" "121,054" "887,642" "214,133" Boston "675,647" Lansing "112,644" Saint Paul "311,527" Jackson "153,701" Jefferson City "43,079" "28,190" Lincoln "291,082" Oklahoma Oregon Salem Pennsylvania Rhode Island South Carolina South Dakota Tennessee Nashville Texas Austin "961,855" Utah Vermont Montpelier Virginia Washington "114,394" "55,274" Concord "42,695" Trenton "84,913" Santa Fe Albany "97,856" Raleigh "467,665" Bismarck West Virginia Wisconsin Wyoming Cheyenne "25,527" "227,470" "38,394" "61,272" "905,748" Oklahoma City "681,054" "175,535" Harrisburg Providence Columbia Pierre "13,646" Richmond Olympia "46,478" "67,947" Salt Lake City "199,723" "7,855" "49,528" "190,934" "136,632" "689,447" "226,610" "51,400" Charleston Madison "269,840" "64,019"
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Running Time of Application
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education