web blazonry web development scripts and tutorials Get best price on LG G3, Metallic Black 32GB (AT&T)
   PHP       Name Generators       Perl       CSS       Javascript       Java       MySql       How Tos       Resources   

Java Home

applets
  iCal Calendar
  Mouse Over w/ Sounds
  Random Image (Motate)
  iNews Applet
  Typewriter Applet
  Text Scroll Applet

packages
  MKJava overview
  com.mkaz.htmllib
  com.mkaz.servlet.*

snippets
  Split Fn
  Get Quoted Str Fn

Bookmark and Share




Type I Applet



Java Applet Not Shown.
Your browser is not enabled to display Java Applets.


Download the source code.

This is my typewriter applet.
Not that there isn't plenty of these applets out there.

This one is a little fancier than most. A couple of nice features is that it can display up to 25 lines of text. You could easily expand it to more also, I felt 25 lines would be more than enough. You can also add in extra blank lines, by simply adding the character '$' to your phrase you want outputted.

Another little bonus feature is that the typing rate is not constant. Since no one really types at a constant rate, the speed factor is adjusted randomly.

You can also turn off the sound and stop it all together by clicking on the applet. Clicking once stops sound, again will suspend the thread from and running and clicking once more resumes the applet with sound.

All formatting should stay consistent no matter what text, or size applet you use. You may foul it up though if your applet is very short, ie. shorter than one word.

I haven't implemented any safety measures, such as checks to make sure no bad input is read in, so there might be a few problems still with the applet. So you can call this the beta version if you please.

 

 

Newest Pages
Test Google Ads Ver. 2
Free Linux Admin Books
Free Linux Books for Programmers
Free Books for Linux on the Desktop
Free PHP Books
Free JavaScript Books
Free Java Books - Advanced
Free Java Books - Basic
Free Perl Books
Free Python Books
Quote of the Day (PHP)
Debugging Part 2
How to Test Google Ads
Most Popular Pages
Baby Name Generator
U.S. Name Generator
Wu Name Generator
Popup Windows (JavaScript)
Upload and Resize an Image (PHP)
How To Install Apache + PHP + MySQL
Intro to Web Databases (PHP, MySQL)

Least Popular Pages
iNews Applet (Java)
Java Resources
Site Monitor (Perl)
PHP Resources
 
 

  privacy policy     ||     © 1997-2016. astonishinc.com   All Rights Reserved.