LVInter
If you think that this
applet has too many parameters, note that some are
redundant and allow you to obtain the same result in
different ways.
- BgColor1
and BgColor2 are the background colors.
- FgColor1
and FgColor2 are the colors of the
string. The second is used when the user moves
the mouse over the applet.
- DefaultMessage
is the message displayed when you don't set
DataFile or when the file specified in DataFile
is not found.
- DefaultLink
is the link used if you don't specify it in the
file.
- DataFile
allows you to use a file containing the text you
want to display. You can also include the link in
the file, using an absolute url (e.g.
"http://...") and putting it at the
beginning of the file. Look at the example
file.
- Font is
the font used to display the message (default
Helvetica, plain, 25pt). Remember that the only
fonts always available in Java are: Helvetica,
TimesRoman, Courier and Dialog. The first
numerical value is 0 for plain, 1 for bold,
2 for Italic or 3 for Bold
Italic. The second number is the
font size.
- DestinationFrame
is the target frame for the link (optional).
- CPS is the
speed, measured in characters per second (default
10).
- SleepTime
is a pause between frames, in milliseconds
(default 100). I strongly recommend you to use it
to allow users to read the string clearly. The
best value depends from the CPS one.
Back to the LVInter applet page
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.
|