Question: I need help writing this code, I have provided a photo of what the output should look like. Write a program that allows a user

I need help writing this code, I have provided a photo of what the output should look like.
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 Aquaand
b.set the shape stroke with Goldcolor and
c.set stroke width to 5px.
2.Add a text shape and the following:
a.set the default text to Your-Nameand
b.set the text content to align centerhorizontally and
c.set the font color to Blueand
d.set the font size to 25px and boldand
e.add a DropShadoweffect with offsetX to 15px and offset to 15px.
3.Add a textfield with a prompt text Type your name hereto allow a user to enter a name.
4.Add a Generate button and its required functions to generate a uses 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 hasnt 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-1below).
8.You are required to create an app resembling to the app in the screenshot.
9.Verify the correctness of your app.
You are free to use whatever method to draw the star shape (e.g.,lines, or polyline, or polygon)
I need help writing this code, I have provided a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!