import java.awt.*; import java.applet.*; public class FirstAppletV extends Applet // a variation of the FristApplet { public void paint(Graphics g) { int red, green, blue; // all colors are combination of these // three, whose value varies from 0 to 255 int x = 20; int y = 20; red = 20; green = 120; blue = 160; Color c = new Color(red,green,blue); g.setColor(c); g.drawString("This is everyone's first applet.", x, y); x = 100; y = 120; int width = 60, height = 30; g.fillOval(x,y,width,height); } // end of paint }