Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 709 Bytes

README.md

File metadata and controls

15 lines (14 loc) · 709 Bytes

circle-square

Manipulating a circle and square using JavaFX event-driven controls.

Requirements

  • Include the following buttons:
    • Enlarge: enlarges the shape
    • Shrink: shrinks the shape
    • Add Square: adds a square to the pane
    • Add Circle: adda a circle to the pane
    • Change Color: changes color of current shape to a random color (using Random)
  • The Enlarge button will increase the size of the current shape with each click.
  • The Shrink button will decrease the size of the current shape with each click.
  • Increased and decreased shapes should remain in the middle of the pane.
  • Use external subclasses rather than inner classes.
  • Use EventHandler classes for each button.