14Applet and Graphics Programming


An introduction is a special kind of Java program that a browser enabled with Java technology can run by downloading from the Internet. An applet is typically embedded inside a web page and runs in the context of the browser. An applet must be a subclass of the java.applet.Applet class, which provides the standard interface between the applet and browser environment.

An applet is an inherent part of a graphical user interface. It is a type of graphical component that can be displayed in a window (whether belonging to a web browser or to some other program). When shown in a window, an applet is a rectangular area that can contain other components, such as buttons and text boxes. It can display ...

Get Java Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.