Skip to main content
BSC Moodle
Log in
  • Moodle Home
  • MyBSC Links
    Academic Alerts (formerly Starfish) Apogee BSC Email BSC Intranet BSC Website Change Password Colleague Events Records IT Helpdesk IT Help for Online Course Students Library MobilePrint OrgSync TheSIS Time & Attendance Trakstar
  • Moodle FAQs
  1. Home
  2. Courses
  3. Miscellaneous
  4. 22FA_CAC210A
  5. Week Five: 9/19-9/23
  6. Code from Wednesday

22FA_CAC210A-Data Structures and Media Comp

Code from Wednesday

This is the code we wrote in class. We had a Circle and a Rectangle class that used the Java Graphics package and a JPanel to draw a square on the screen. It also has a ShapeTester class, which has the main method to draw the image. 

I challenged you to create your own shape (another class like Circle or Rectangle so maybe Triangle?) and draw a shape like a simple tree or car. 

    • Circle.javaCircle.java
    • Rectangle.javaRectangle.java
    • Shape.javaShape.java
    • ShapeTester.javaShapeTester.java
◄ Code from Class 9/19
Participation: ZyBook Chapter 1 ►

Moodle Help

BSC Students - Please contact the BSC Helpdesk at helpdesk@bsc.edu or 205-226-3033, option 2. If you're an online course student, please consult the IT Website for Online Course Students. 

BSC Faculty and Staff - Please visit the Instructional Technology Moodle Course or contact Angela Brooks at adbrooks@bsc.edu, 205-226-3039.

facebooklinkedininstagram

  • Moodle Home
  • MyBSC Links
    Academic Alerts (formerly Starfish) Apogee BSC Email BSC Intranet BSC Website Change Password Colleague Events Records IT Helpdesk IT Help for Online Course Students Library MobilePrint OrgSync TheSIS Time & Attendance Trakstar
  • Moodle FAQs
Built with Open LMS, a Moodle-based product.
Copyright © 2024 Open LMS, All Rights Reserved.

Data retention summary
Get the mobile app
Switch to the standard theme