advertisement
javaboutique
Search Tips
Articles  |   Tutorials  |   Reviews  |   Tools  |   by Category  |   by Date  |   by Name  |   Submit  |   Source  |   Forums  |  
javaboutique
Browse DevX


Partners & Affiliates











advertisement


Advanced Typewriter Scroll


ParametersValue
<applet code="advtypew.class" width="170" height="200">The applet tag identifies the location, class file name, and size of a Java applet. The first part of the tag code=advtypew.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="info" value="Applet by Gokhan Dagli,japplets.tripod.com">Information about the Advanced Typewriter Scroll 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="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. 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. You can buy the registration code using a credit card through Regnow secure server. It also accepts Checks and Money Orders through postal mail.
<param name="input_text" value="from_parameters">"from_parameters" or "from_file".
Example2 and Example3 read text from file.
<param name="text_file" value="">The name of the text file that contains the text to be vertically scrolled. The file must reside in the same directory as the Java applet.
Example2 and Example3 read text from file.
<param name="bgimage" value="b15.jpg">The file name of a GIF or JPEG image that will be drawn behind the scrolling text. The file path is based starting with the directory in which the Java applet is located. If you don't want to use backgroung image, please use this tag like this:
<param name="bgimage" value="">
Example3 doesn't use background image. Click here to see.
<param name="image_xposition" value="0">Horizontal position of the background image, in pixels.
<param name="image_yposition" value="0">Vertical position of the background image, in pixels.
<param name="bgcolor" value="000000">Background color, in hexadecimal RGB format.
<param name="title_color" value="ffcc00">Color of the titles, in hexadecimal RGB format.
<param name="text_color" value="ffffcc">Color of the text messages, in hexadecimal RGB format.
<param name="highlight_title_color" value="80a0d0">This parameter will change the color of the titles 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 RGB format.
<param name="highlight_text_color" value="50b5f0">This parameter will change the color of the text message 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 RGB format.
<param name="title_align" value="left">"left", "center",or "right".
This tag identifies alignment of the title messages. Can take one of these three values: "left", "center" ,or "right".
<param name="text_align" value="left">"left", "center",or "right".
This tag identifies alignment of the text messages. Can take one of these three values: "left", "center" ,or "right".
<param name="title_font_type" value="Helvetica">Name of the title font. Valid values are: "Helvetica", "TimesRoman", "Courier" or "Dialog".
<param name="title_font_size" value="12">Size of the title font.
<param name="title_font_style" value="1">Style of the title font ("0"=plain, "1"=bold, "2"=italic, "3"=1+2=bold+italic)..
Example:
<param name="title_font_style" value="1">.
<param name="text_font_type" value="Dialog">Name of the text font. Valid values are: "Helvetica", "TimesRoman", "Courier" or "Dialog".
<param name="text_font_size" value="11">Size of the text font.
<param name="text_font_style" value="0">Style of the text font ("0"=plain, "1"=bold, "2"=italic, "3"=1+2=bold+italic)..
Example:
<param name="title_font_style" value="0">.
<param name="scroll_delay" value="30">This is the delay in milliseconds between redraws. In other words it represents the speed of the scrolling. The lower the number, the faster it scrolls.
<param name="type_delay" value="30">This is the delay in milliseconds between redraws. In other words it represents the speed of the typing. The lower the number, the faster it types.
<param name="border_thickness" value="2">Width of the applet border, in pixels.
<param name="border_color" value="d0d0a0">Color of the applet border, in hexadecimal RGB format.
<param name="left_margin" value="10">Margin at the left of the applet, in pixels.
<param name="top_margin" value="10">Margin at the top of the applet, in pixels.
<param name="right_margin" value="10">Margin at the right of the applet, in pixels.
<param name="bottom_margin" value="10">Margin at the bottom of the applet, in pixels.
<param name="vertical_space" value="24">To create a blank space to separate paragraphs. This controls how much space is between each paragraphs.
<param name="title_linespace" value="0">Space between lines of title texts, in pixels.
<param name="text_linespace" value="0">Space between lines of text, in pixels.
<param name="titleN" value="000000">Title of the text message. (N =1,2,3...,number of message). You must start at 1 and increase by 1 at each time.
<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.
<param name="linkN" value="">The absolute and/or relative URLs.
<param name="target_frameN" 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.
</applet>The last part works like all other HTML tags and defines the end of the applet tag </applet>.


Text File Format

 
Title|Text|Link URL|Target Frame

Please do not forget putting "|" charecter between items. You have to use three "|" charecter each line.

Example2 and Example3 read text from file.


Getting Started

  • Place the class file (advtypew.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 Advanced Typewriter Scroll 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.


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

Return to Advanced Typewriter Scroll

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.

 DevX Skillbuilding from IBM developerWorks
 RIA Run Contest: Build Next-Gen Apps in Microsoft Silverlight 2
 Avaya DevConnect Center
 Intel Go Parallel Portal
 Internet.com eBook Library
 Microsoft RIA Development Center
 Destination .NET
XML error: not well-formed (invalid token) at line 53
advertisement
Receive Articles via our XML/RSS feed
Receive Articles via our XML/RSS feed

JavaBytes
Internet Cyclone
This powerful, easy-to-use, internet optimizer is for Windows 95, 98, ME, NT, 2000 and XP. It's designed to automatically optimize your Windows settings, boosting your Internet connection up to 200%.

SaaS Tool Offers Custom Database Development
Microsoft’s Automated Agent: Can We Talk?
Borland Finally Sells CodeGear
Red Hat Heads For The JON 2.0
Out with the Old, in with the New at JavaOne
Trolltech Expands WebKit Footprint
Oracle: Eating its Own Open Source Food
Big Money and Open Source May Not Compute
Open Source Embrace Gives Sun New Fans
NetBeans, OpenSolaris Also in Spotlight at JavaOne

Taming Trees: Building Branching Structures
Clean Up Function Syntax Mess with decltype
Sutter Speaks: The Future of Concurrency
INTEL SCAVENGER HUNT, LENOVO X300 AND APPLE IPOD TOUCH GIVEAWAY (the "Giveaway")
Comparing Multi-Core Processors for Server Virtualization
Intel® Desktop Business Computing Solutions
Intel: What Downturn?
Managing the Evolving Data Center
Implement Drag and Drop in Your Windows Forms Applications
Processing Linked Web Data with XSLT

Advertising Info  |   Member Services  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: HyperV-The Killer Feature in WinServer ‘08
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Win Server ‘08
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES