Java Graphics Methods
Java supports graphics. Drawing different geometrical figures is known as graphics. Java comes with java.awt.Graphics many methods of drawing. Following programs use Frame or Applet window to draw figures. A. Basic Programs 1. Graphics – Introduction B. For the usage of methods of Graphics class 1. For darwLine(): Drawing Lines 2. For drawString(): Drawing Strings …