Check out other


 
Other Categories
 

The Java Planet

presents The NewsTicker Applet

Sorry, your browser doesn't support java applets or this facility is disabled.

As you can see, this small applet displays various text strings. Usually these strings are news headlines. However you can use any text in place of headlines, as in this case. All the headlines can have links to different pages. So that the user can be directed to the page where the full story of the news is available.

The applet is interactive. When the user places mouse cursor over the applet the scrolling stops so that the user can read the text. He can also drag the headlines widthwise to display previous or next headlines.

This applet serves as an excellent replacement for marquee provided by HTML. This is because the marquee can not be equipped with different links.

You can adjust the width & height of the applet using width & height arguments in applet tag. You can also change the speed of scroll using "speed" parameter.

The headlines & their links have to specified using a separate file named default.txt placed in the same folder. The format of the file is

headline1
link1
headline2
link2
...

 

Download File Info:

Size: 17 KB
The zip file contains the class file & an html file. You can use the html file to view the applet if you have Java Enabled Browser. The readme files giving all information the program & it's usage is also included in the zip file.

Click here to download

If you like this site, refer it to your friends


Other Java Applets
Fire Text
Navigation
JSearch

Click here to add "The Java Planet" to your favorites or bookmarks

Jump to:


File Info:

newsticker.zip
Size
: 17 KB
The zip file contains the class file & an html file. You can use the html file to view the applet if you have Java Enabled Browser. The readme files giving all information the program & it's usage is also included in the zip file.

Click here to download


Make Suggestions, Comments, Bug Reports or Ask for Help

Copyright © 2003 Vishal Mamania — All Rights Reserved