NewsTicker Java Applet   Commerical Version 1.0


Information :

Newsticker is a text scroller Java applet.

URL: http://japplets.tripod.com/newsticker.html

Author: Gokhan Dagli

Mail : quickshare@excite.com

Class File : newsticker.class

This effect contains the code by Gokhan Dagli, used under a licence. Before using this applet you must read the license agreement.

Cost: 19USD   You can buy it when finished testing. 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.

You can use the applet freely to enhance your web pages (commerical or non-commerical). However, I placed a status bar warning that will appear when the applet is online on a site and regcode parameter isn't correct.

Sample 1 :






<applet code="newsticker.class" width=400 height=18>
<param name="regcode" value="">
<param name="info" value="Applet by Gokhan Dagli">
<param name="bgcolor" value="000000">
<param name="fontcolor" value="fffff0">
<param name="highlight_color" value="eeee90">
<param name="delay_time" value="4000">
<param name="scroll_delay" value="8">
<param name="scroll_jump" value="2">
<param name="font_type" value="Arial">
<param name="font_size" value="11">
<param name="font_style" value="1">
<param name="text_alignment" value="center">
<param name="left_margin" value="10">
<param name="text1" value="Newsticker is a Java Applet from Japplets">
<param name="link1" value="http://japplets.tripod.com/newsticker.html">
<param name="text2" value="Newsticker is in the Javaboutique top20 list">
<param name="link2" value="http://japplets.tripod.com/newsticker.html">
<param name=target_frame value="_self">
</applet>

Sample 2 :


<applet code="newsticker.class" width=300 height=28>
<param name="regcode" value="">
<param name="info" value="Applet by Gokhan Dagli">
<param name="bgcolor" value="ffffff">
<param name="fontcolor" value="000000">
<param name="highlight_color" value="f06020">
<param name="delay_time" value="2000">
<param name="scroll_delay" value="8">
<param name="scroll_jump" value="3">
<param name="font_type" value="Arial">
<param name="font_size" value="16">
<param name="font_style" value="1">
<param name="text_alignment" value="center">
<param name="left_margin" value="10">
<param name="text1" value="Hi">
<param name="link1" value="">
<param name="text2" value="Welcome to quality Java Applets Home!">
<param name="link2" value="http://japplets.tripod.com/">
<param name="text3" value="Best Java applets of the Web">
<param name="link3" value="http://japplets.tripod.com/">
<param name=target_frame value="_self">
</applet>




Code explanations :

The following instructions describe the meaning of the available parameters for this applet:


<applet code="newsticker.class" width=400 height=18>

The applet tag identifies the location, class file name, and size of a Java applet. The first part of the tag code=newsticker.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).

<param name="info" value="Applet by Gokhan Dagli">

Information about the Newsticker.

<param name=bgcolor value="000000">

Background color of the applet.

<param name="fontcolor" value="fffff0">

Text color.

<param name="highlight_color" value="eeee90">

Highlight text color.

<param name="delay_time" value="4000">

Delay period. Applet waits for next message.

<param name="scroll_delay" value="8">

Scroll delay.

<param name="scroll_jump" value="2">

scroll_jump is the distance in screen pixels to jump between frames.

<param name="font_type" value="Arial">

Font family (Arial,TimesRoman,Courier,...).

<param name="font_size" value="11">

Font size.

<param name="font_style" value="1">

Font style (0->Plain,1->Bold,2->Italic,3->Bold+Italic).

<param name="text_alignment" value="center">

This tag identifies alignment of messages. left or center.

<param name="left_margin" value="10">

Left margin of message text. (if text_alignment parameter is left)

<param name="text1" value="Newsticker is a Java Applet from Japplets">

First message.

<param name="link1" value="http://japplets.tripod.com/newsticker.html">

First link.

<param name="text2" value="Newsticker is in the Javaboutique top20 list">

Second message.

<param name="link2" value="http://japplets.tripod.com/newsticker.html">

Second link.

<param name=target_frame value="_self">

Target frame.

</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 (newsticker.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 newsticker 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.

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. 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 (newsticker.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 image-based parameter. Check that paths and names of images are correct.
  • If the applet runs, but you can't make it do what you want it to do, please take another look at the documentation.




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


Other Java Applets

Newsticker

Colorfader

Billboard

Magic Image

Colorbook