203.129.225.221 writes:
How a component object creates an instance of Graphics class though,graphics class is an abstract class? Pls reply.
Anand Gore
194.158.187.242 writes:
Usually components get an instance of Graphics for free in the paint(Graphics g) method. Override that method and draw whatever you want on the given graphics.
Henk Jan