Question: How do I develop a JavaFX program that does this: Objective: Write a JavaFX program from scratch (but very similar to what we have implemented

How do I develop a JavaFX program that does this:
 How do I develop a JavaFX program that does this: Objective:

Objective: Write a JavaFX program from scratch (but very similar to what we have implemented in Lab3) which implements Composite design pattern You will use JavaFX mouse event handler to create objects (circles and rectangles) on a canvas (your JavaFX stage) using your mouse. You will then extend your code to implement the composite design pattern which dragging a container moves all circles within it. Functionality Requirements: 1 Your program shall allow user to add black circles by primary click action and add randomly colored rectangles by right clicking. Your program shall allow user to drag a black circle into a rectangular container. Your program shall changes the color of the circle to its container's color once it is placed within a container. Your program shall drag all circles within a container with it if the container is dragged. 2) 3) 4 Shape Composer

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!