Java Applets Home Text Effects Collection Headline Typer Java Applet
Headline Typer Java Applet   Commercial Version 2.0




Example 2Example 3

Headline Typer is a very configurable typewriter scroller Java applet. Every message can be linked to a URL. User has full control over colors, font faces, font sizes, font styles and timing.


See Also:
Flash Text Scroller Wizard

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

<applet code="hlinetyper2.class" width="250" height="115">

<param name="applet_width" value="250">
<param name="applet_height" value="115">

<param name=info value="Applet by Gokhan Dagli,www.appletcollection.com">
<param name=regcode value="">

<param name=type_delay value="30">
<param name=scroll_delay value="12">
<param name=target_frame value="_self">

<param name="border_thickness" value="1">
<param name="border_color" value="999999">

<param name=title1 value="Headline Typer Java Applet">
<param name=title_font1 value="Arial,1,13,6">
<param name="text1" value="Headline Typer is the ideal applet for displaying news headlines. User has full control over colors, fonts, animation directions and more.">
<param name=delay1 value="5000">
<param name=font1 value="Arial,0,12,2">
<param name=color1 value="FFFFFF,0011AA,000000,AA0000,AA0000">
<param name=text_align_valign1 value="left,top">
<param name=offset1 value="10,10,10">
<param name=link1 value="http://www.appletcollection.com/">
<param name="status_bar_msg1" value="Headline Typer Java Applet">

<param name=title2 value="Registration">
<param name=title_font2 value="Arial,1,16,6">
<param name="text2" value="If you wish to remove the warning , you may register the applet for a nominal cost. Registration removes the status bar warning message.">
<param name=delay2 value="4000">
<param name=font2 value="Arial,1,12,2">
<param name=color2 value="516091,beecf3,EEEEFF,EEFFFF,FFFFFF">
<param name=text_align_valign2 value="left,top">
<param name=offset2 value="10,10,10">
<param name=link2 value="http://www.appletcollection.com/">
<param name="status_bar_msg2" value="Registration">


<param name=title3 value="Text Effects Collection">
<param name=title_font3 value="Arial,1,13,6">
<param name="text3" value="Headline Typer Java Applet is available as part of Text Effects Collection. You can use same regcode parameter all Text Effects Collection Java Applets.">
<param name=delay3 value="5000">
<param name=font3 value="Arial,0,12,2">
<param name=color3 value="4B4B4B,EDC03A,EAEAEA,FFEE5A,FFEEAA">
<param name=text_align_valign3 value="left,top">
<param name=offset3 value="10,10,10">
<param name=link3 value="http://www.appletcollection.com/">
<param name="status_bar_msg3" value="">

</applet>



Information:

Author: Gokhan Dagli
Site URL : http://www.appletcollection.com/
Applet URL : http://www.appletcollection.com/hlinetyper.html
Class File : hlinetyper2.class
eMail : info@appletcollection.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 (commercial or non-commercial). 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 Fee : $19USD Registration removes the status bar warning message. Please try it before you buy it. Buy it once, use the same regcode for new versions. You can buy the registration code using a credit card through Regnow 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="hlinetyper2.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=hlinetyper2.class, identifies the name of the Java applet. The second and third part of the applet tag identify the width and height of the applet (usually measured in screen pixels).
<param name="applet_width" value="290">Width of the applet. Please do not forget set this parameter. It must be the same value with applet tag.
<param name="applet_height" value="135">Height of the applet. Please do not forget set this parameter. It must be the same value with applet tag.
<param name="regcode" value="">Registration code (if you have it). Place the registration code you purchased from us into value section of this parameter. You have to pay small amount of money to receive your registration code (regcode). Click here to buy regcode.
<param name="info" value="Applet by Gokhan Dagli,www.appletcollection.com">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 (hlinetyper2.class) into the directory containing the HTML document which you want to insert the applet (or into a different directory, and add the correct CODEBASE= attribute).
  • Paste the applet tag from the sample into your HTML file.
  • 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 any questions, requests or remarks you might have to: info@appletcollection.com
  • Usually the easiest way to customize the applet is copy 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. This may mean a spelling or case mistake in the CODE= attribute, the wrong location in the CODEBASE= attribute, or that you've forgotten to copy the .class file (hlinetyper2.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 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-2003


Popular Applets Collection Java Applets

Advanced News Scroll

Advanced Newsticker

Horizontal Menu Scroll

Advanced Typewriter Scroll



Java Applets

Absolute Menu

Magic Text Scroll

Newsticker

A. Vertical Menu

Billboard

Magic Image

Colorbook

DissolveImage

Screw

FineDots

Java Applets Home



Text Effects Collection Java Applets

Announcer

A.H. Scrolling Text

Message Slider

Headline Typer

Flying Letters

Headlines

TypeWriter

Wipe Right