Portal
******
Portal
******
by John Morris
Installation:
1. Create a text file which contains
all the text and configurations for the
applet. Below is a list of configurable
parameters with their valid values:
Name Value
---- -----
background any valid RGB color
foreground any valid RGB color
fontcolor any valid RGB color
shadowcolor any valid RGB color
fontsize any valid font size
fontname any valid font name
fontstyle "none","italic","bold" or "both"
speed 0 (fastest) - 5 (slowest)
The format for setting a parameter is:
name = value
Any line in the text file without a "=" in it
will be treated as text and displayed.
This may be a little confusing so the best
thing to do is start with the sample text
file "portal.txt" and play with it until
it looks the way you want it to.
2. Add the following html to the
html of the page on which you want
Portal to appear:
<applet width="200" height="100" code="Portal.class" archive="Portal.jar">
<param name="created by John Morris - www.javaplayground.com" value="void">
<param name="file" value="portal.txt">
</applet>
You can make the height and width
anything you want but the <param>
tag with the author information must
appear EXACTLY as it is above for the
applet to work.
3. Place "Portal.jar" and your text file
in the same directory as the page to which
you added the above html tags.
This applet is free if you add a link to my page:
www.javaplayground.com
on the page which is using the applet.
John Morris
Back to the Portal 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.
|