Headline Typer Java AppletText Effects CollectionJava Applets Home
Headline Typer Java Applet   Commerical Version 1.0




Example 2Example 3

This is a message presentation applet. Every message can be linked to a URL. User has full control over colors, font faces, font sizes, font styles and timing.


As an example here's the code I used for the applet on top :

<applet code="hlinetyper.class" width=290 height=135>
<param name=info value="Applet by Gokhan Dagli,www.geocities.com/japplets">
<param name=regcode value="">

<param name=type_delay value="20">
<param name=scroll_delay value="8">
<param name=target_frame value="_self">

<param name=title1 value="Headline Typer Java Applet">
<param name=title_font1 value="Courier,1,16,6">
<param name="text1" value="You can use the applet freely to enhance your web pages. However, I placed a status bar message that will appear when the applet is online on a site and regcode parameter isn't correct.">
<param name=delay1 value="4000">
<param name=font1 value="Helvetica,0,14,0">
<param name=color1 value="000000,FFCC00,E9FFE9,E9FFE9,FFCC00">
<param name=text_align_valign1 value="left,top">
<param name=offset1 value="10,10,10">
<param name=link1 value="http://www.geocities.com/japplets/hlinetyper.html">
<param name="status_bar_msg1" value="Headline Typer Java Applet">

<param name=title2 value="Registration">
<param name=title_font2 value="Courier,1,16,6">
<param name="text2" value="If you wish to remove the warning , you may register the applet for a nominal cost.">
<param name=delay2 value="3000">
<param name=font2 value="Helvetica,0,14,0">
<param name=color2 value="000000,FFCC00,E9FFE9,E9FFE9,FFCC00">
<param name=text_align_valign2 value="left,top">
<param name=offset2 value="10,10,10">
<param name=link2 value="http://www.geocities.com/japplets/hlinereg.html">
<param name="status_bar_msg2" value="Registration">

<param name=title3 value="Headline Typer">
<param name=title_font3 value="Courier,1,16,6">
<param name="text3" value="Headline Typer is the ideal applet for displaying news headlines. User has full control over colors, fonts, animation directions and more.">
<param name=delay3 value="5000">
<param name=font3 value="Helvetica,0,14,0">
<param name=color3 value="000000,FFCC00,E9FFE9,E9FFE9,FFCC00">
<param name=text_align_valign3 value="left,top">
<param name=offset3 value="10,10,10">
<param name=link3 value="http://www.geocities.com/japplets/hlinetyper.html">
<param name="status_bar_msg3" value="Headline Typer">

</applet>



Information:

Author: Gokhan Dagli
Site URL : http://www.geocities.com/japplets/
Applet URL : http://www.geocities.com/japplets/hlinetyper.html
Class File : hlinetyper.class
Mail : quickshare@excite.com
This effect contains the code by Gokhan Dagli, used under a licence. Before using this applet you must read the license agreement.
You can use the applet freely to enhance your web pages (commerical or non-commerical). However, I placed a status bar message that will appear when the applet is online on a site and regcode parameter isn't correct.
Registration Cost : 19USD You can buy it when finished testing (try before you buy). Buy it once, use same regcode for new versions! You have to pay small amount of money and receive your registration codes (regcodes). You can buy the registration code using a credit card through Regsoft secure servers. Click here!



Headline Typer's parameters are explained below : The following instructions describe the meaning of the available parameters for this applet:


ParametersValue
<applet code="hlinetyper.class" width=290 height=135>The applet tag identifies the location, class file name, and size of a Java applet. The first part of the tag code=hlinetyper.class, identifies the name of the Java applet. The second and third part of the applet tag identifies the width and height of the applet (usually measured in screen pixels).
<param name="regcode" value="">Registration code (if you have it). In the "regcode" parameter, place the registration code you purchased from us. You have to pay small amount of money and receive your registration code (regcode). Click here for buying regcode.
<param name="info" value="Applet by Gokhan Dagli,www.geocities.com/japplets/">Information about the Headline Typer Java applet.
<param name=type_delay value="20">This is the delay in milliseconds between redraws. In other words it represents the speed of the type. To make your animation more fluid you should decrease the time Typically 5:minimum, 80:maximum ,
10-40 :good.
<param name=scroll_delay value="8">This is the delay in milliseconds between redraws. In other words it represents the speed of the scroll. ( Typically 5:minimum, 100:maximum , 5-50 :good).
<param name="target_frame" value="_self">Target frame. Sometimes you want the URL to be opened in a particular frame or in a completly different window. Use this parameter to specify the destination of the URL to open.
<param name="titleN" value=" ">Title. (N =1,2,3...). You must start at 1 and increase by 1 at each time. Use "#" for jumping next line. Use "&nbsp;" for extra space.
<param name="title_fontN" value="Helvetica,1,16,6">"Font type, font style, font size, yspace"
This will specify the font name, font type, font size and yspace (Extra space between text lines.) used to display the title.

You may choose from among many fonts. For example Arial, Helvetica, Courier and TimesRoman. It is case sensitive.
For font style, use 0 for PLAIN, 1 for BOLD, 2 for ITALIC or 3 for ITALIC BOLD to set the style of the display.

"ysapace" is the extra space between text lines.

Examples:
"TimesRoman,3,22,10"
"Courier,0,20,0"
"Arial,2,14,0"
<param name="textN" value=" ">Message body. (N =1,2,3...,number of message). You must start at 1 and increase by 1 at each time. The text message to show. Use "#" for jumping next line. Use "&nbsp;" for extra space.
<param name="delayN" value="3000">This is the time, in milliseconds, the text should be waiting before scroll again.
<param name="fontN" value="Arial,1,26,10">"Font type, font style, font size, yspace"
This will specify the font name, font type, font size and yspace (Extra space between text lines.) used to display the text.

You may choose from among many fonts. For example Arial, Helvetica, Courier and TimesRoman. It is case sensitive.
For font style, use 0 for PLAIN, 1 for BOLD, 2 for ITALIC or 3 for ITALIC BOLD to set the style of the display.

"ysapace" is the extra space between text lines.

Examples:
"TimesRoman,3,22,10"
"Courier,0,20,0"
"Arial,2,14,0"
<param name="colorN" value= "FFFFFF,0011AA,000000,AA0000,AA0000">"background color, title color, text color, highlight title color, highlight text color".

"background color" is the background color for text messages.

"highlight text color":This parameter will change the color of the messages to the specified color when your mouse moves over the applet. This will only occur if there's an associated URL for the current text. You must use hexadecimal colors.

"highlight title color":This parameter will change the color of the title to the specified color when your mouse moves over the applet. This will only occur if there's an associated URL for the current text. You must use hexadecimal colors.
<param name="text_align_valignN" value="center,center">"alignment of the text messages, vertical alignment of the text messages"

alignment:center,left,right.

vertical alignment:center,top,bottom
<param name="offsetN" value="10,0,10">"left margin width, top margin height, right margin width".
<param name="linkN" value="">The absolute and/or relative URLs.
<param name="status_bar_msgN" value="Headline Typer Java Applet">You can set a message for each text message in the "status_bar_msg" code. "status_bar_msg1" is the message displayed with the first text message, "status_bar_msg2" the second image, etc.
</applet>The last part works like all other HTML tags and defines the end of the applet tag </applet>.


Getting Started

  • Place the class file (hlinetyper.class) in the directory containing the HTML document into which you want to insert the applet (or into a different directory, and add the correct CODEBASE= attribute).
  • Add the applet tag to your HTML document in the position you want Headline Typer Java applet to appear.
  • The info parameter must be included for the applet to run. It is case sensitive, and the number of spaces between words must be identical (entirely single-spaced). If you try to run the applet and you see the message "info parameter error", it denotes a problem with this parameter.
  • Java is case sensitive.

Troubleshooting & Support

  • Please send me any questions, requests or remarks you might have to: quickshare@excite.com
  • Usually the easiest way to customize the applet is cut and paste the applet tag information used in the sample and modify it to fit your web page.
  • If you see a "class not found" message, this means what it says -- your browser can't find the .class files specified. You've forgotten to copy the .class file (hlinetyper.class) to the necessary directory.
  • Make sure that your <APPLET> tag, closing </APPLET> tag, and all <PARAM> tags have < and > brackets. Check that the value for every parameter is enclosed between " signs.
  • If you see a NullPointerException displayed in the browser status-bar, it's most likely to be caused by a mistake in an parameter. Check it.
  • If the applet runs, but you can't make it do what you want it to do, please take another look at the documentation.




Headline Typer Java Applet- Copyright (C) by Gokhan Dagli 2000