The Applet module might not be available in your version of the IDE. If it
is available, you will see an option to create an Applet under the
Classes category in the New wizard. You can enable the Applet module
by choosing Tools Update Center.
By default, the applet executor calls the appletviewer command provided with your JDK. You can change the properties of the applet executor so that it runs an applet in the web browser of your choice. Running an applet in a web browser can be slower than using the applet viewer because the web browser has to start up. However, before deploying your applet, you should verify that it displays in external browsers.
To view or change the properties of the applet executor,
open the Options window, expand Debugging and Execution Execution Types, and select Applet Execution.
When you change the value of a property, your change affects all
classes that use that executor.
The applet executor has the following properties:
You can execute applets in the applet viewer by typing {jdk.home}{/}bin{/}appletviewer in the Process field. For more information on the appletviewer command, see http://java.sun.com/j2se/1.3/docs/tooldocs/solaris/appletviewer.html
You can execute applets in an external browser by clicking the ellipsis (...) button next to the Process field and navigating to the browser's executable.
Typically, the only argument needed by both an external browser and the applet viewer is the {URL} variable. This variable represents the HTML page that the internal HTTP server passes to the viewer at runtime. The {URL} variable takes its host name and port values from the IDE's internal HTTP server settings.
See also | |
---|---|
Running and Debugging an Applet
Applet Debugger Configuring HTTP Server Options Setting a Proxy Accessing Local Files Through a Proxy |