Graphics – Part 2

Graphics: Part 2 – OPTIONAL: Computer Science 30S

NOTE: you can find another copy of this example on the GitHub branch here

  • Continue to build on a large example for this course that will help you learn the content and have a reference for you when you complete assessments
  • So start by opening the previous example and adding to it
  • Add the following properties to the top of the class:


  • Add to the constructor method of the class:


  • Now add the setControls() method:


  • And this code to the method:


  • Run the application to make sure you have no errors!