Practical No. 28
Practical No. 28
Practical No. 28
28
Program Code:
import java.applet.*;
import java.awt.*;
g.drawString("java",10,100);
}}
Exercise:
Q1) Develop a basic applet program to display “Welcome to the World of Applet”.
/*
</applet>
*/
System.out.println("Initializing an applet");
System.out.println("Starting an applet");
System.out.println("Stopping an applet");
System.out.println("Destroying an applet");
g.drawString("Welcome",50,30);
import java.awt.*;
str1 = getParameter("Bal");
g.drawString("Low Balance",50,30);
else
}}
/*
</applet>
*/