In this article we will implement an Applet program to draw a line, oval and rectangle. An Applet program is provided below to draw lines, ovals, and rectangles. import java.applet.*; import java.awt.*; public class GApplet extends Applet { public void paint(Graphics g) { g.drawLine(20, 20, 500, 20); g.drawRect(20, 40, 200, 40); g.fillRect(300, 40, 200, […]