Igor Shteynberg

igor@photomania.net


Final Project

Short Description:

This is an applet, is designed for using by people who does not know Java. My goal was to make applet as much customizable as possible so that all parameters that user may want to change could be changed by specifying different values is <PARAM> tag without any recompiling of the Java program

User Instructions:

file: button.class must be uploaded to the same directory where you will upload the html file in which you will put button.

This applet can be included it a web page but putting a following code:

<APPLET CODE="button.class" WIDTH=Applet Width HEIGHT=Applet Height>

<PARAM name="url" value="link">

<PARAM name="default_msg" value="Default message">

<PARAM name="move_msg" value="Move message">

<PARAM name="wait_msg" value="Wait message">

<PARAM name="move_status" value="Status line">

<PARAM name="x" value="Horizontal coordinate">

<PARAM name="y" value="Vertical coordinate">

<PARAM name="font_name" value="Font name">

<PARAM name="font_size" value="Font size">

<PARAM name="italic" value="Any text">

<PARAM name="bold" value="Any text">

<PARAM name="font_color" value="Color code">

<PARAM name="backgr_color" value="Color code">

<PARAM name="move_color" value="Color code">

<PARAM name="move_backgr" value="Color code">

<PARAM name="wait_color" value="Color code">

<PARAM name="wait_backgr" value="Color code">

</APPLET>

parameter names are in italic

parameter values are in bold

where everything that's in bold should be replaced with your own information
parameterdescription typeexampledefault value
HEIGHTButton height integer50200
WIDTHButton width integer 200200
urlhyper link to the page that should be opened if the button is pressed URLhttp://www.yahoo.com http://photo.tierranet.com

(my home page)

default_msgtext displayed by default StringButtonvalue "Default" will be set by applet to remind user to specify this parameter
move_msgtext displayed when the mouse cursor moved over the button StringBe sure to press this button value of default_msg
wait_msgtext displayed after the button is pressed(clicked) and while new page is loading StringHold on a second value of default_msg
move_statustext that displayed in a www browser status line when mouse cursor moved over the button StringIf you click this button you'll go somewhere else value of default_msg
xhorizontal coordinate of text integer105
yvertical coordinate of text integer1014
font_nameFont that used for displaying messages stringCorierTimes New Roman
font_sizeSize of the font integer1412
boldif any text is specified for this parameter font will be bold stringwhatevertext will not be bold
italicif any text is specified for this parameter font will be italic(not italic and bold can be combined) text will not be italic
font_colorDefault font color HEXFF00FFblack
backgr_colorDefault background color HEXFF00FFgreen
move_colorFont color used when cursor moved over the button HEXFF00FFred
move_backgrBackground color used when cursor moved over the button HEXFF00FFblack
wait_colorFont color used after button is pressed(for displaying wait_msg) while user waits for new page t be loaded HEXFF00FFyellow
wait_backgrBackground color used after button is pressed(for displaying wait_msg) while user waits for new page t be loaded HEXFF00FFblack

In case if any parameters will not be specified, default values will be used.