please dont rip this site

AOLpress logo

AOLpress Help

Creating Applet Parameter Files

You can create parameter files to make it easier for you and other AOLpress users to include your applets in their pages.

When you drag an applet from a MiniWeb to a page, AOLpress searches the MiniWeb for a file with the same name as the class file but with a file extension of .param. This file can contain a list of parameters the applet accepts, valid and default values for parameters, and formatting information for windows that prompt for parameter values. If a .param file does not exist, AOLpress looks for a .java source file, and scans it to find parameters.

If AOLpress finds parameters for the applet, it displays a window with fields for each parameter. For example, the following windows ask for several values.


--------------------------
Creating a parameter file:

  1. Choose File New New Page to open an empty page window.
  2. Choose Format Paragraph Preformatted.
  3. Type the text of your parameter file. For example, the parameter file that allows AOLpress to create the previous windows looks like this:
        Parameters for Satellite Applet={title}
        Set values for each parameter:={text}
        speed=10
        num_satellite=
        size_satellite=
        scale={atom,planet,solarsys,galaxy,megacluster} planet
        label=Hello World
        {next}
        infolink={url}
        helplink={url} satell/help.html
        centerimage={imageurl} satell/jupiter.gif
        satellimage={imageurl}
    The first line in this example sets the window title for the first window. You can use any text followed by "={title}". The second line puts text in the window to explain what users should do. You can use as many of these text lines as you like. Just end each text line with "={text}". The line that says "{next}" splits the list of parameters into multiple windows that have Next and Prev buttons.
    The rest of the lines in this parameter file define parameter fields:
            speed=10
            scale={atom,planet,solarsys,galaxy,megacluster} planet
            helplink={url} satell/help.html
  4. Choose File Save As. In the Save As window, click the Options button and choose to save the page as "Text" before you save the file. Use the same filename as the corresponding Java .class file, but change the file extension to .param.


Help Table of Contents
file: /Techref/language/html/HELP/refer/javaprms.htm, 5KB, , updated: 1997/3/23 18:30, local time: 2022/9/28 02:49,
TOP NEW HELP FIND: 
3.238.199.4:LOG IN

 ©2022 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://www.massmind.org/techref/language/html/HELP/refer/javaprms.htm"> Param files</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?

 

Welcome to massmind.org!

 

Welcome to www.massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .