Draw to a Component. See Trail: 2D Graphics (The Java™ Tutorials)