Search your topic here

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:

LEAVE A REPLY










Related topics

Please use contact page in this website if you find anything incorrect or you want to share more information about the topic discussed above.