MIT OpenCourseWare
  • OCW home
  • Course List
  • about OCW
  • Help
  • Feedback
  • Support MIT OCW

Swing 2D Transformations

Source Code / Data Files 

All code produced with Java™ software.
Java™ is a trademark of Sun Microsystems Inc.

Cardioid.java

CardioidGraph.java

GraphPanel.java

Errata and Hints

Problem set 5 - Yet more clarifications for problem 2

Don't call pack() in Problem 2. If you do, the BusDrawing object will become zero-sized.