Headliner



The Headliner vertical scrolling applet reads a text file at given intervals, and scrolls into view any new text that has been added to that file. The oldest text is then scrolled out of view -- all without having to refresh your browser!

Author's Notes:
When reading the text file, if a new headline is discovered, the applet will scroll up oldest headline and the newest headline will scroll in from the bottom. So the applet will normally not be scrolling. It only scrolls when new text is detected. If no new text is detected, the applet does not scroll.

How To Use:

  • Download HeadlinerTrial.zip (22 KB)
  • Unzip with a compression utility.

    Java Source: unavailable

    Sample HTML Source:

    <applet code=HeadlinerDemo.class width=210 height=75>
    	<param name=backgroundColor value="255,255,255">
    	<param name=mouseOverColor value="255,0,0">
    	<param name=fileName value="source.txt">
    	<param name=refreshRate value="5">
    	<param name=scrollDelay value="20">
    	<param name=leftMargin value="5">
    	<param name=numberOfHeadline value="5">
    	<param name=maxHeadline value="100">
    </applet>
    

    Status: Trial

    Author: consulting.com, Inc.

    Homepage: http://www.consultcom.com/asp/frames.asp?pagename=Headliner

    Upload Date: July 13, 2000


    How to Add Java Applets to Your Site

    New on the Java Boutique:

    New Review:

    Time Management Made Easy with the Quartz Enterprise Job Scheduler
    Why not just use the Java timer API? This open source scheduling API boasts simplicity, ease-of-integration, a well-rounded feature set, and it's free!

    New Applet:

    Reverse Complement
    Reverse Complement is a simple applet that converts DNA or RNA sequences into three useful formats.

    Elsewhere on internet.com:

    WebDeveloper Java
    Lots of Java information on webdeveloper.com

    WDVL Java
    Thorough Java resource at the Web Developer's Virtual Library.

    ScriptSearch Java
    Hundreds of free Java code files to download.

    jGuru: Your View of the Java Universe
    Customizable portal with online training, FAQs, regular news updates, and tutorials.