Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Applet image display

APPLET IMAGE DISPLAY:
import java.awt.*;
import java.applet.*;
   
public class AppletDisplayImage extends Applet {
 Image picture;
 public void init() {
setBackground(Color.yellow);
 }
 public void paint(Graphics g) {
g.drawImage(picture, 40,40, this);
 }
 
 }
OUTPUT: