The Applet Viewer displays applets running in the IDE. (Note: This is the applet viewer shipped with the JDK). You can run multiple applets concurrently (in multiple Applet Viewers), and can make run-time changes to them by altering the code and reloading the applet. The Console window will display standard output from the applet; the Console is also where you supply standard input for the applet.
The Applet Viewer's Applet menu has the following options:
| Option | Description |
| Restart | Restarts the loaded applet from the beginning. |
| Reload | Reloads all code and resources associated with the applet. |
| Stop | Stops the running applet. |
| Save | Saves the applet as a serialized object to a file. |
| Start | Starts the applet, starting at the point in the code at which it was stopped. |
| Clone | Opens another Applet Viewer on the same applet. |
| Tag | Displays the HTML tags for the applet. |
| Info | Displays information on the applet and its parameters. |
| Character Encoding |
Shows the type of character encoding that is used for character conversion. |
| Print the applet | |
| Properties | Displays the Applet Viewer Properties, where you can change the following
settings:
|
| Close | Closes the applet viewer and reclaims resources. |
| Quit | Closes the applet viewer. |
For more information about the Applet Viewer, please see the JDK documentation on the world wide web.
![]()
Running an applet from the IDE
Making run-time changes to an applet