Computer Science, asked by jdm, 1 year ago

how to create an applet in java programming

Answers

Answered by sanran
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