Question
PLEASE COMPLETE USING JAVAFX. After a huge success selling our flower packs to local shops weve acquired enough money to replace all of our items
PLEASE COMPLETE USING JAVAFX.
After a huge success selling our flower packs to local shops weve acquired enough money to replace all of our items and had plenty left over to leave Alexander and Elizabeth so they can hire a doctor to travel in and hopefully help Elizabeth recover. Things have been happening very quickly and we havent had much time to process what weve accomplished, so heres a little recap of everything weve done since we started our journey.
Created a basic flower pack that can add, display and remove (using arrays) Assignment 1
Searched through the flower pack. Assignment 1
Sorted the flower pack. Assignment 1
Created a flower object to hold attributes of each flower. Assignment 2
Upgraded our flower pack (to now use an ArrayList) Assignment 3
Filter the flower pack based on a partial search. Assignment 3
Upgraded our flower pack (to now hold multiple different types of plants) Midterm
Saved and Loaded information to/from a file. Assignment 4
*This list does not include information or tasks specific to labs
Several days after weve left and continued the journey we began so long ago we come to another small town that looks like a great place to stay for the night. The first thing we do, and have always done, is look for an inn. After we find what looks like the best inn weve ever seen and reserve our room we head to the tavern to socialize and hopefully find someone who catches our eye. After sitting at the bar for a bit a nice older lady comes up to us and starts a simple conversation. During this, we discover she is the owner of the small flower shop on the corner (what are the chances!). We politely tell her about the system weve developed, but sadly she isnt interested. The bartender overhears our conversation and when the lady leaves he comes over to ask us more about our system.
The next morning we wake up in our room and look to our night stand where there is a candle that apparently burned the entire night and is hanging on to the last bit of light it can produce. Below the candle we notice a contract with what could only be construed as our signature on the bottom. What did we agree to last night??
After reading the contract it appears weve agreed to create a flower pack for the bartender to use. The bartender hopes to take our system, make copies and sell as many as he can to rebuild the home he lost in a fire a long time ago. There is a drawing on the first page with what appears to be some sort of interface, but it cant be interpreted in any meaningful way.
Heres our task for the week, since violating a contract results in death, we have no option but to finish.
Create an interface for the user to display, add, remove, sort, and filter our flower pack.You should use all of the following at least once in your interface
Stage
Button
Label
TextField
CheckBox
Layout (you can use any layout found in the lecture or book)
Menu
MenuItem
Load and Save file is not required for this assignment
The flower pack should hold flowers, weeds, fungus, and now herbs. All should be a subclass of a plant class.
Each subclass shares certain qualities (ID, Name, and Color)
Flower traits include (Thorns and Smell)
Fungus traits include (Poisonous)
Weed traits include (Poisonous, Edible and Medicinal)
Herb traits include (Flavor, Medicinal, Seasonal)
Submit 6 files: Assignment5.java, flower.java, fungus.java, plant.java, herb.java and weed.java
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