Welcome To The World Of Hacking


Learn Hacking|Teach Hacking|Learn To Secure|Learn To Code

Monday

JAVA PROGRAMMING TUTORIAL 41 : INTRODUCTION TO APPLET

//An applet is typically embedded inside a web page
//It runs in the context of a browser

import java.awt.*;

import javax.swing.*;

public class HackDefence extends JApplet{
public void paint (Graphics g){
super.paint(g);
g.drawString("Introduction to applet", 25, 25);
}
}

OUTPUT:

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...