Ballwriter V1.1 - by Mikael Boman - Copyright © 1998-03-28 Description: This applet moves a ball around and types out the text of a given textfile. In short, a somewhat 'cooler' typewriter applet. The textfile can contain some 'markups' to improve the output. Parameters: Well, since you don't have a Java-enabled browser, this isn't much fun for you is it? Parameter descriptions: The parameternames speak alot for themselves but I give them a short descrition anyway. These are the parameters that can be changed (with restrictions and default values). file (default: text.txt): path to textfile (relative to the class-file) ball (default: ball.gif): path to the image that will move around and spray out the characters sleep (min: 20, max: 80, default: 50): Number of milliseconds to sleep between repaints steps (min: 10, max: 70, default: 30): The number of steps the characters will take between release from the image and their final position margin (min: 0, max: width of applet, default: 15): How much margin to have to the left of the text fontSize (min: 5, max: 30, default: 12): size of font to use bgColor (default: 255 255 255): color of applet background textColor (default: 0 0 0): color of text Textfile: The text in the textfile will be presented just as it looks in a texteditor. If you don't have any newline-characters, the text will be on one row. If the textfile is to long to fit in the applet with the chosen font, the applet will not start. Try to edit the textfile or alter the fontsize to make it work. All characters should work, and newline-characters are correctly interpreted as a change of line. Also tab-characters are correctly interpreted. For the future, supporting other markups, such as italic and bold text is planned. Have a look at the 'text.txt' included with this package, in which you will find some examples of how to create a nice looking textfile. IMPORTANT: You must have LinkWindow.class and Ball.class in the same directory as where the Ballwriter1_1.class is located. The copyright and creator parameters must remain unaltered (look at the parameters above). Otherwise the applet won't start. Credits In the production of this applet I have had great help from Tobias Hill. Even the first idea was his, so I owe him a lot. Thanx man! See his work at http://www.citerus.se/embryo/ (for example the BumpMap and Sphere applets) Copyright and distribution notices: You may use this applet freely on your homepage as long as the following is true: * Your homepage isn't commercial. * You agree to the license agreement in the file license.txt that this file is accompanied by. * The applet isn't altered in any other way than what is possible to do by setting the parameters from the html document. That means for instance: The applet 'should'/'have to' launch the linkwindow when beeing clicked, and the initial-text (when the applet starts up) should remain intact. Eventhough you are allowed to use a copy of this applet I, Mikael Boman, own the full rights to the sourcecode. I can also, without further discussion, take away your rights to use this applet on your page, if I for any reason (whatsoever) find it used in an inapropriate context. If you want to use this applet in a commercial context, please contact me. In case of bugs please send me a mail about it. I am also interested in hearing where and how you use it, so when you are done please send me an e-mail. ------------------------------------------------------------- Mikael Boman, 1998-03-27 mikael.boman@citerus.se Citerus info@citerus.se http://www.citerus.se More applets on -> http://www.citerus.se/embryo