Make your own free website on Tripod.com
Announcer Java AppletText Effects CollectionJava Applets Home
Announcer Java Applet   Commerical Version 1.0




Example 2Example 3

Announcer Java applet is the perfect scroll and presentation effect for displaying headline and news messages with their associated URL links. Fast, small and highly customizable.


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

<applet code="announcer.class" width=390 height=26>

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

<param name="bgcolor" value="fef1ce">
<param name="border_color" value="000000">
<param name="headline_color" value="0000a2">
<param name="message_color" value="000000">
<param name="highlight_headline_color" value="d20000">
<param name="highlight_message_color" value="d20000">

<param name="headline_font" value="Arial,1,14">
<param name="message_font" value="Arial,0,12">

<param name="text_alignment" value="center">
<param name="left_margin" value="10">
<param name="base_line_ypos" value="18">
<param name="xspace" value="10">

<param name="scroll_delay" value="60">
<param name="pause" value="5000">

<param name="target_frame" value="_self">

<param name="headline1" value="Announcer :">
<param name="message1" value="Java applet is available.">
<param name="link1" value="http://japplets.tripod.com/text.html">
<param name="status_bar_msg1" value="Announcer is available.">

<param name="headline2" value="News :">
<param name="message2" value="Perfect for news and text messages.">
<param name="link2" value="http://japplets.tripod.com/text.html">
<param name="status_bar_msg2" value="Welcome to Quality Java Applets Home!">

<param name="headline3" value="Download :">
<param name="message3" value="Click here to download.">
<param name="link3" value="http://japplets.tripod.com/text.html">
<param name="status_bar_msg3" value="Click here to download.">

</applet>



Information:

Author: Gokhan Dagli
Site URL : http://japplets.tripod.com/
Applet URL : http://japplets.tripod.com/announcer.html
Class File : announcer.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!



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


ParametersValue
<applet code="announcer.class" width=390 height=26>The applet tag identifies the location, class file name, and size of a Java applet. The first part of the tag code=announcer.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,japplets.tripod.com">Information about the Announcer Java applet. 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.
<param name="bgcolor" value="fef1ce">"bgcolor" is the background color.
<param name="border_color" value="000000">Border color.
<param name="headline_color" value="0000a2">Headline color. (Left text)
<param name="message_color" value="000000">Message color. (Right text)
<param name="highlight_headline_color" value="d20000">This parameter will change the color of the headline (left text) 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="highlight_message_color" value="d20000">This parameter will change the color of the text messages (right text) 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="headline_font" value="Arial,1,14">Headline font (left text),

"Font type, font style, font size"
This will specify the font name, font type and font size 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.


Examples:
"TimesRoman,3,22"
"Courier,0,20"
"Arial,2,14"
<param name="message_font" value="Arial,0,12">Message font (right text),

"Font type, font style, font size"
This will specify the font name, font type and font size 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.


Examples:
"TimesRoman,3,22"
"Courier,0,20"
"Arial,2,14"
<param name=text_alignment value="center">This tag identifies alignment of the text messages. left or center.
<param name="left_margin" value="10">Number of pixels for left margin. (for left alignment)
<param name="base_line_ypos" value="18">"base_line_ypos" is the distance from the top of the applet to draw the text messages.
<param name="xspace" value="10">Extra space between headline and text message.
<param name="scroll_delay" value="60">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 1:minimum, 200:maximum , 10-80 :good.
<param name="pause" value="5000">This is the time, in milliseconds, the text should be waiting before scroll again.
<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="headlineN" value=" ">Headline (left text) body. (N =1,2,3...,number of message). You must start at 1 and increase by 1 at each time.
<param name="messageN" value=" ">Message (right text) body. (N =1,2,3...,number of message). You must start at 1 and increase by 1 at each time.
<param name="linkN" value="">The absolute and/or relative URLs.
<param name=status_bar_msgN value="">Status bar message.
</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 (announcer.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 Announcer 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.


Linking to My Web Site

If you use unregistered version of this applet in your own website and you want to include a link to my homepage, you can use the images "sbn.gif" or "bbn.gif" and type this HTML code in your pages:


java applets

<a href="http://japplets.tripod.com/"><img src="sbn.gif" alt="java applets"></a>

java applets

<a href="http://japplets.tripod.com/"><img src="bbn.gif" alt="java applets"></a>

This is absolutely optional. I will be very happy if you do so.
Thanks.

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 (announcer.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.




Announcer Java Applet- Copyright (C) by Gokhan Dagli 2000


Java Applets

Absolute Menu

Magic Text Scroll

Newsticker

Colorfader

Billboard

Magic Image

Colorbook

DissolveImage

Screw

Java Applets Home



Text Effects Collection Java Applets

Announcer

A.H. Scrolling Text

Message Slider

Headline Typer

Flying Letters

Headlines

TypeWriter

Wipe Right