![]() Public void resize(int width, int height) Public Image getImage(URL url, String name) Public AudioClip getAudioClip(URL url, String name) The default constructor for an applet. ![]() The structure of this class is stated as below : The Applet class provides a standard interface between applets and their environment. The Applet class must be the superclass of any applet that is to be embedded in a Web page or viewed by the Java Applet Viewer. The various components in this package is listed below :Īn applet is a small program that is not intended to be run on its own, but to be embedded inside another application. This is in fact a fundamental package for the creation of applets in Java. This package also provides several interfaces that connect an applet to its document and to resource for playing audio. The java.applet Package contains classes and interfaces for creating applets. ![]() Chapter 12 - The Applet Package Chapter 12 The Applet Package
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |