how to create an applet in java programming
Answers
Answered by
1
import java.awt.*; import java.applet.Applet ; public class test extends Applet { public void paint (Graphics g) { g.drawString("Hello World!", 80, 80); g.drawString("This Is My First JAVA Code!!!!",100,100);
<title> My Applet </title> <applet code="test.class" Width = 700 height = 400> </applet>
Similar questions
Computer Science,
7 months ago
Math,
7 months ago
Geography,
1 year ago
Political Science,
1 year ago
Math,
1 year ago
Math,
1 year ago