In this tutorial we are going to show how you can print simple shapes in paper using your printer. We are going to use some basic classes from AWT. The basic steps we go through this example are: Create a custom class that extends Component and implements Printable Override the paint method of Component class. Inside that method create a ...
Read More »