Java examples for 2D Graphics:Print
Click the following links for the tutorial for 2D Graphics and Print.