JavaFX GUI Can you please help me the JAVA program? here is the requirement: Bui
ID: 3790985 • Letter: J
Question
JavaFX GUI
Can you please help me the JAVA program? here is the requirement:
Build JavaFX GUI program as the images below.
The first image shows the initial image produced by the program. It has labels for Author, Title and Pages, and under each label is a TextField accepting user input for the associated information. It also has a button for Make New Book. The user can fill in each required data in each TextField, and when the button is pushed the program creates a Book object and adds it to a DataSetBook.
Below the widgets described above is a TextArea displaying the toString value of the DataSetBook object. As Make New Book is pushed and a new Book added to the DataSetBook, the TextArea is updated.
The second image shows that data has been entered for a book, but the button not yet pushed.
In the third image, the button has been pushed and the first book added to the DataSetBook.
The last image shows a second book has been entered, the button pushed, and the TextArea updated.
A Book class is attached to this item for your use. Use the DataSetBook class. Choose appropriate Layout Panes to improve on this GUI's appearance. You may wish to tweak the toString methods of Book and DataSetBook. You should use a simple, named inner class (as ButtonDemo.java program below) as the event handler for the button.
--------------Book.java----------------
-------------------DataSetBook.java------------------
----------ButtonDemo.java---------------
Initial Window Author Data SetBook Title Pages Make New Book O XExplanation / Answer
-------------------DataSetBook.java------------------
----------ButtonDemo.java---------------
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.