Create a JavaFX application that draws a pattern of evenly spaced circles.• Use four constants to control the pattern: • the number of circles to draw (text field). • the radius of the first circle (text field). • the change in the radius of each subsequent circle (text field). • the change in the x-coordinate of the circle (text field).• Every text field should have an appropriate label.• Cycle the colors of the circles through red, green, and blue.• Create a “Draw” button to draw the circles. Include a test table with four test cases, and screen captures showing the successful compiling and running of each of the test cases.Each screen capture should be properly labeled and indicate what the screen capture represents. The test table should include the following columns: test case #, input, expected output, actual output, andpass/fail. Make sure to test the methods of all classes. Test cases test all the requirements of the class. Each test case has a screenshot. You should have enough test cases to fully test the program, including input validation. • Include header comments that include your name, date, and description of the program. • Include body comments. • Create all the required labels and text fields. • Create a button with events to draw the circle(s). • Validate input values using Exceptions.
Create a JavaFX application that draws a pattern of evenly spaced circles.
• Use four constants to control the pattern:
• the number of circles to draw (text field).
• the radius of the first circle (text field).
• the change in the radius of each subsequent circle (text field).
• the change in the x-coordinate of the circle (text field).
• Every text field should have an appropriate label.
• Cycle the colors of the circles through red, green, and blue.
• Create a “Draw” button to draw the circles.
Include a test table with four test cases, and screen captures showing the successful compiling and running of each of the test cases.Each screen capture should be properly labeled and indicate what the screen capture represents. The test table should include the following columns: test case #, input, expected output, actual output, and
pass/fail. Make sure to test the methods of all classes. Test cases test all the requirements of the class.
Each test case has a screenshot. You should have enough test cases to fully test the program, including input validation.
• Include body comments.
• Create all the required labels and text fields.
• Create a button with events to draw the circle(s).
• Validate input values using Exceptions.
Unlock instant AI solutions
Tap the button
to generate a solution