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

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.

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

Hello Students, As discussed in class, the Workspaces and Challenges are now active. Required Challenges for Full Credit To earn full credit (30% of the

Hello Students, As discussed in class, the Workspaces and Challenges are now active. Required Challenges for Full Credit To earn full credit (30% of the assignment), you must complete 8 challenges from the following list: Interns & HR on the Domain Controller Help Desk Fun: User Workstation Nightmares Dangerous Drives Preventative Protection: Thwarting the Imminent Threat Security

Please read the instructions below carefully. Required Challenges for Full Credit Vulnerability Scan Complete, Begin System Hardening [NG] Volatile

Please read the instructions below carefully. Required Challenges for Full Credit Vulnerability Scan Complete, Begin System Hardening [NG] Volatile Vulnerabilities [NG] The Network is Down! Internal Issues Edition [NG] The Network is Down! Contractor Edition [NG] (Complexity 1) The Network is Down! Contractor Edition [NG] Systems Security Analyst Crash Course

Hello Students, Please pay attention to the instructions below. Required Challenges for Full Credit To earn full credit (30% of the assignment), you must

Hello Students, Please pay attention to the instructions below. Required Challenges for Full Credit To earn full credit (30% of the assignment), you must complete 6 challenges from the following list: Interns & HR on the Domain Controller Help Desk Fun: User Workstation Nightmares Dangerous Drives Preventative Protection: Thwarting the Imminent Threat Security