Preview:
import java.applet.*; 

import java.awt.*; 

/*<applet code="LabTask35.class" width="600" height="800"> 

</applet>*/ 

public class LabTask35 extends Applet 

 { 

public void init() 

 { 

setBackground(Color.black);

setForeground(Color.yellow);

 } 

public void paint(Graphics g) 

 { 

 Font f=new Font("Arial",1,28);

g.setFont(f);

g.drawString("Folks! I'm a Laughing Baby Face",340,550);

g.drawOval(75,460,40,40);

g.fillOval(75,460,40,40);

g.drawLine(147,460,147,560); 

g.drawOval(175,460,40,40); 

g.fillOval(175,460,40,40); 

g.drawOval(20,400,260,260);
   g.drawArc(80,535,135,80,180,180);

 } 

}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter