Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need to make a very simple JavaFx GUI (in a simple hbox, for example) that will have: 1)a text box to add the name of

Need to make a very simple JavaFx GUI (in a simple hbox, for example) that will have:

1)a text box to add the name of a plant (i.e. Rosebush) below that:

2) 2 separate text fields for 2 prices to be entered (and displayed): ("plant cost" and "soil cost")

3) a button to be clicked that will calculate the average of the 2 prices

4) a text field that will display the calculated average between 2 prices

5) underneath the calculated average cost text field-- a button to 'Add Plant'

6) a new larger text box below the 'Add Plant' button that will list the plant name AND its already calculated average cost next to it. (avg. between the plant cost and soil cost) *Must be able to list at least 3 plants at a time, along with their avg cost next to it.

7) An 'exit' button that will close the GUI

Thanks so much!

**Sorry for the reposts-- the project has been evolving and the last solution however partially helpful, did not work. My Eclipse Oxygen3 IDE will not accept 'import javafx ArrayList' or 'import javafx.ioSerializable'

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

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions

Question

The nature and importance of the global marketplace.

Answered: 1 week ago