
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
A step-by-step guide on creating a java applet, including importing packages, writing code, and using graphics methods to draw shapes and display text. It also covers loading images and experiencing the applet's life cycle.
Typology: Exercises
1 / 1
This page cannot be seen from the preview
Don't miss anything!
Do not use the JBuilder Applet Wizard at this step
public class AppLife extends Applet{ public void init(){ System.out.println("Init called"); } public void start(){ System.out.println("strat called") } public void paint(Graphics g){ g.drawString("Paint called",25,25); } public void stop(){ System.out.println("Calling stop"); } public void destroy(){ System.out.println("Calling destroy"); }}
Exercise- 01 Java-Programming