Graphics – Part 1

Graphics: Part 1 – 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 to the main method:

Picture1(19vcnvcn)

  • And then create the learnGraphics() method:

Picture2vncn(10)

  • Now add the Graphics1.java class to the project:

Picture3(1nvcn0)

  • And add this constructor method to the class:

Picture4(8cbxbcx)

  • And add the setContainer() method:

Picture5(vcnvcn6)

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