Question: Please show me code(Eclipse) and ALL testing and outputs (screenshots) Must use JavaFX to implement the GUI components. Assessment Tasks Given the brief stated above,

Please show me code(Eclipse) and ALL testing and outputs (screenshots)

Must use JavaFX to implement the GUI components.

Assessment Tasks

Given the brief stated above, your tasks are as follows:

  1. Implementation: Create a class called Shapes. Implement the functionality from the brief stated below, ensuring that you have covered all points.

  2. Functionality/Testing: Show evidence that ALL the methods in the Shapes class and the options in the GUI have been individually tested and that the Shapes class can be compiled and run from the command line.

The program should have the following functionality:

  1. An interactive component which has the following actions associated to it; the component can accept user input, where assuming the input is valid, a shape will be displayed on the main screen. The program should accept the following shapes as input: triangle, rectangle, hexagon.

    1. You need to ensure that the user input is validated, and feedback is given when invalid input is entered.

    2. The program should only allow the user to enter one valid shape at a time.

    3. The main screen should only display one shape at a time.

  2. An interactive component which has the following actions associated to it; the component can accept user input, where assuming the input is valid, the currently displayed shape will be filled using the color of the valid input. The program should accept the following colors as input: red, green, grey.

    1. You need to ensure that the user input is validated, and feedback is given when invalid input is entered.

    2. The program should only allow the user to enter one valid color at a time.

    3. The currently displayed shape should only be filled with one color at a time.

there will be two questions.

Which shape you want? (Then type Triangle or Rectangle or Hexagon)

and next question is

Which color you want? (They type Red or Green or Grey)

If I type, Triangle, Red.

Then output should be Triangle is filled with red color.

and it works for 9 types. (triangle, rectangle, hexagon 3 types) * (red, green, grey 3 types)

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 Databases Questions!