Assignment 2 appendix: drawing with Java graphics
To start drawing inside a panel, first setup a DrawingPanel as described in step 2 of this assignment. Next, add a paintComponent() method and add drawing commands to it. The origin in a panel is the upper left corner: The first time you use a new class, like Color, you might get a warning bulb … Continue reading Assignment 2 appendix: drawing with Java graphics