Experiment 08: Aim: Write A Program in Java To Implement Applet
The document describes an experiment to create a simple Java applet. The program imports Applet and Graphics classes and defines a HelloWorld class that extends Applet. It overrides the paint method to draw the string "Hello! This is an applet." at coordinates 20,20. The HTML file embeds the applet with a width and height specified. When run, the output displays the drawn string within the applet frame.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
59 views
Experiment 08: Aim: Write A Program in Java To Implement Applet
The document describes an experiment to create a simple Java applet. The program imports Applet and Graphics classes and defines a HelloWorld class that extends Applet. It overrides the paint method to draw the string "Hello! This is an applet." at coordinates 20,20. The HTML file embeds the applet with a width and height specified. When run, the output displays the drawn string within the applet frame.