Additional sample videos, individual lessons and other formats are available here.
Register your product to gain access to bonus material or receive a coupon.
Color control: Drawing rectangles and strings in various colors
Choosing colors with JColorChooser
Displaying strings in different fonts and colors
FontMetrics and Graphics methods useful for obtaining font metrics
Drawing lines, rectangles and ovals
Drawing arcs with Graphics methods drawArc and fillArc
Drawing polygons with Graphics methods drawPolygon and fillPolygon
Demonstrating Java 2D shapes
Java 2D general paths and rotating/translating Java 2D shapes