Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

<PARAM ...>

Usage Recommendation
use it if you use <APPLET ...>

  • NAME: name of the parameter
 
  • VALUE: value of the parameter

Parameters are how you give details about how an applet should run. You use <PARAM ...> to communicate parameters. For example, if you want to tell MyApplet what text to display, you use the TEXT parameter.

this code produces this
<APPLET CODE="MyApplet.class" HEIGHT=50 WIDTH=100>
<PARAM NAME=TEXT VALUE="Hey Dude">
</APPLET>

The <PARAM ...> tag in the above example simply says TEXT="Hey Dude". This method of assigning a name with one attribute and a value with another is a way of bridging the gap between the worlds of HTML and Java.

Here's what each piece means:

<PARAM
This is a parameter to pass to MyApplet.
NAME=TEXT
The name of the parameter to pass is "TEXT"
VALUE="Hey Dude"
The value of the "TEXT" parameter is "Hey Dude".

 
 
  Copyright 1997-2002 Idocs inc. Published under the terms of the Open Content License Design by Interspire