1 L37 Graphics and Java 2D™ (2). 2 OBJECTIVES To use methods of class Graphics to draw lines, rectangles, rectangles with rounded corners, three-dimensional.