Use JavaFX. No Swing or Awt
Enhanced the Hollywood Star Generator app
Write a program that allows a user to enter a name into an input box and your program will display a star similar to the screenshot shown below, with a name displayed in the star. Below are the requirements of the program (or app):
1. Add a Star shape and the following:
a. fill the color with “Aqua” and
b. set the shape stroke with “Gold” color and
c. set stroke width to 5px.
2. Add a text shape and the following:
a. set the default text to “Your-Name” and
b. set the text content to align “center” horizontally and
c. set the font color to “Blue” and
d. set the font size to 25px and “bold” and e. add a “DropShadow” effect with offsetX to 15px and offset to 15px.
3. Add a textfield with a prompt text “Type your name here” to allow a user to enter a name.
4. Add a Generate button and its required functions to generate a use’s name on the text shape on the Start (e.g., John Wayne).
5. Add a Reset button and its required functions to reset all the controls back to the initial load conditions.
6. Set app title to “Draw a Super-Star”.
7. If the user hasn’t entered any name but the Generate button is being clicked, the app will not change any things and it will stay in its initial condition (refer to Figure-1 below).
8. You are required to create an app resembling to the app in the screenshot.
9. Verify the correctness of your app.