Search tips
  • Java Tutorial: Applets
    In this section of the tutorial, we are going to create a basic applet for a web browser. First of all, a class must be defined that inherits from the class java.applet.Applet. The Applet class is the standard class inherited for writing applets. It contains the methods to paint to the screen and create the window. The inherited class must be declared public. In this example, we will create an applet that says "Hi, Mom!". Before you start, take a look at what you will be building by executing a finished applet. To return to this section after viewing the applet, use the Back option on your browser. You can see the "Hi Mom!" applet execute by clicking here on hi.applet. The Applet ProgramRAM To create the "Hi, Mom" applet, create (e.g., with a text editor) a
    in Public bookmarks with applet java tutorial


applet from all users