Java Abstract Window Toolkit (AWT)
The Java 2D API is considered to be a complex and powerful API which provides support to graphics. Just smaller feature sets are used by the Java 2D graphics, provided in class java.awt.graphics.
Graphic class is divided into 2 groups, as following. Draw & fill method: This makes you able to render the basic text shapes & images.Attributes setting method: Affects at filling appearance & drawing.
The setColor & setFont method