Hyper Button Applet v 2.0


To use my Hyper_Button Applet download the class files here:
Download Me
Parameter Names Possible Values Samples
Height & Width The Height & Width of the Button will be the Height & Width specified in the Applet Tag Default Button
No Parameters Specified
UrlName Value can now accept absolute or relative URL's. If no url is specified the button will act as a link to the developers homepage.
Target Acceptable values are
  • _blank
  • _self
  • _parent
  • _top : this is the defualt if no parameter is entered

  • Can now accept user defined targets (for navigating frames)
Caption This is the text you want displayed on the button. The Default is the name of the Applet.
Button_Color A six digit/character Hex representation of the color you want the button to be.
LightGray is the default.
Caption_Color A six digit/character Hex representation of the color you want the text to be when the mouse is not over the button.
Black is the default.
Caption_Focus_Color A six digit/character Hex representation of the color you want the text to be when the mouse is over the button. Green is the default.
Font_Size The size of the font.
24 is the default.
The size of the font will be automatically decreased if the captions width is greater than the inside of the button or if the captions height is greater than the inside of the button . You can avoid this by making the button larger.
Button_Type This parameter can accept a value of 1 or 2.
1 will provide my version of a 3D Beveled rectangle Button.
2 will provide a standard Java 3D Raised Rectangle.
1 is the default.
Here is the applet tag for the button above.

<applet code="Hyper_Button.class"
    CODEBASE="java" width=250 height =120>
<param name=UrlName value="http://www.sun.com/">
<param name=Target value="_parent">
<param name=Caption value="Sun">
<param name=Button_Color value = "d2d2d2">
<param name=Caption_Color value ="ff11bb">
<param name=Caption_Focus_Color value="aa11bb" >
<param name=Font_Size value = "250">
<param name=Font_Name value = "Helvetica">
<param name=Font_Style value = "BoldItalic">
<param name=Button_Type value = "2">
</applet>
Font_Name Acceptable values are :
Helvetica
Courier
TimesRoman
: This is the default
Other Fonts will ba added in the future.
Font_Style Acceptable values are :
Plain
Italic
Bold
: This is the default
BoldItalic
If you plan on using multiple buttons in a horizontal column or a vertical row you must use the VSPACE and HSPACE parameters in the applet tag.
IF you like this applet and want to use it on your web site e-mail
savidge@scsud.ctstateu.edu
Look at some of my other applets


scroller | jTime | jDate | jHostName | Expiriment in Multi_Threading