please dont rip this site

AOLpress logo

AOLpress Help

Insert Java Applets

There are several ways to insert a Java applet into a page:

The first two methods above open the Applet window. In addition, you  can change parameters in the Applet window if you select an applet and choose Element Java Applet.

--------------------------
Using the Applet window:

  1. Choosing Element Java Applet while the cursor is positioned where you want the Java applet to appear, opens the Applet window:
  2. Type the location of the applet's class file or click the Browse button and select a class file. (Note that some applets are made up of multiple Class files. You need to select the main class file for the applet in order for the applet to run correctly.)
  3. Give the applet a Name if applets will need to communicate with each other.
  4. In the Width and Height fields, type the display size (in pixels) of the applet.
  5. Select how you want to align the applet with the text that follows it. The choices are the same as for images: Top, Middle, Bottom, Left, and Right. See "Inserting Images" for examples.
  6. Many applets let you set parameters to control how the applet will run. For example, an applet that runs a slide show may let you set the speed at which the slide show will run.
    If someone has created a parameter file for this applet (or if the Java source file is in the same directory), AOLpress prompts you for parameter values when you drag the applet from a MiniWeb to a page. See "Creating Applet Parameter Files" for details on creating parameter files.
    Otherwise, you will need to enter parameters and their values by hand. For each parameter:
        speed=10
        slide1=myimage.gif
        nextpage=page2.html
  7. When you are finished, click OK to place the applet in your page.


Applet Parameters

If AOLpress can figure out what parameters are needed for a given applet, it will pop up a customized window designed for that applet:


Non Java-Enabled AOLpress

AOLpress currently does not display Java Applets (pending licensing agreement). You may still edit applets in this environment, and AOLpress will display them as a rectangle of the correct size with a cross in it.

Sometimes it is convenient to display applets as they will appear in most non java-enabled browsers, this may be done by opening the general preferences window and changing the state of the Show Java Windows checkbox.

To insert an applet both with the applet and some alternative text to be displayed by users of non-java enabled browsers:

Thereafter java-enabled browsers will display the applet, and non java-enabled browsers will display the originally selected text.


Help Table of Contents
file: /Techref/language/html/help/refer/applet.htm, 6KB, , updated: 1997/3/23 17:30, local time: 2024/12/27 21:15,
TOP NEW HELP FIND: 
3.135.202.168:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://linistepper.com/techref/language/html/help/refer/applet.htm"> Inserting Java Applets</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?