LinkText Java Applet

Customizing the Applet:
Class Files: LinkText.class, ocjwkey.class Notice Tag: LinkText Copyright (c) OpenCube Technologies, Registered (Unique Key ID#) Parameter 1 must be included in the applet tag in order for the LinkText Java applet to work. Some of the parameters will default if you fail to define them, however we suggest you include all the parameters so the applet is ensured to work correctly. Usually the easiest thing to do is cut and paste the applet tag info used in the sample and modify it to fit your web page. Color definition. LinkText uses the same color definition scheme as HTML. Except that the number that describes a color in LinkText must be specified in decimal as an integer between 0 and 16777215 decimal (0 and FFFFFF hex). Reading from left to right, the red component of the color is contained within the first FF component of the hex number, the green component is in the second FF component, and the blue is in the last FF component. This may sound daunting, but if you have a calculator that can convert between the two formats it isn't. (The calculator that is shipped with Windows95 has this function.) Color Encoding. Just pick a red component between decimal 0 and 255. Convert it to its hexadecimal equivalent (e.g., 255 = FF), this is now the first component of the three component hexadecimal number (i.e, FF????). Do the same with the green (second), and blue (third) components. Then convert the resulting hexadecimal number to decimal. Use this number in the appropriate color related applet parameter tag. Parameter 1 Attribute: Copyright Notice param name="Notice" value="LinkText Copyright (c) OpenCube Technologies, Registered (Unique Key ID#)" Note: This must be included for the applet to work. Parameter 2 Attribute: Background Color, (mouse outside applet) param name="bgcolor" Value=X, where X is a color represented by a decimal number as described above. Parameter 3 Attribute: Background Color, (mouse over applet) param name="bgcolorHL" Value=X, where X is a color represented by a decimal number as described above. Parameter 4 Attribute: Background Color, (mouse over applet and clicked) param name="bgcolorCLICK" Value=X, where X is a color represented by a decimal number as described above. Parameter 5 Attribute: Text Color, (mouse outside applet) param name="textcolor" Value=X, where X is a color represented by a decimal number as described above. Parameter 6 Attribute: Text Color, (mouse over applet) param name="textcolorHL" Value=X, where X is a color represented by a decimal number as described above. Parameter 7 Attribute: Text Color, (mouse over applet and clicked) param name="textcolorCLICK" Value=X, where X is a color represented by a decimal number as described above. Parameter 8 Attribute: Bold, (mouse outside applet) param name="bold" Value=true or false, true=yes bold, false=no bold Parameter 9 Attribute: Bold, (mouse over applet) param name="boldHL" Value=true or false, true=yes bold, false=no bold Parameter 10 Attribute: Bold, (mouse over applet and clicked) param name="boldCLICK" Value=true or false, true=yes bold, false=no bold Parameter 11 Attribute: Italic, (mouse outside applet) param name="italic" Value=true or false, true=yes italic, false=no italic Parameter 12 Attribute: Italic, (mouse over applet) param name="italicHL" Value=true or false, true=yes italic, false=no italic Parameter 13 Attribute: Italic, (mouse over applet and clicked) param name="italicCLICK" Value=true or false, true=yes italic, false=no italic Parameter 14 Attribute: Font Size, (mouse outside applet) param name="fontsize" Value=X, Where X is the size of the font Parameter 15 Attribute: Font Size, (mouse over applet) param name="fontsizeHL" Value=X, Where X is the size of the font Parameter 16 Attribute: Font Size, (mouse over applet and clicked) param name="fontsizeCLICK" Value=X, Where X is the size of the font Parameter 17 Attribute: Font Type, (mouse outside applet) param name="font" Value=X, where x is a valid font name, for example "Times New Roman" Parameter 18 Attribute: Font Type, (mouse over applet) param name="fontHL" Value=X, where x is a valid font name, for example "Times New Roman" Parameter 18 Attribute: Font Type, (mouse over applet and clicked) param name="fontCLICK" Value=X, where x is a valid font name, for example "Times New Roman" parameter 19 Attribute: Message, (mouse outside applet) param name="message" Value=X, where x is the message to be displayed, "your message" parameter 20 Attribute: Message, (mouse over applet) param name="messageHL" Value=X, where x is the message to be displayed, "your message" parameter 21 Attribute: Message, (mouse over applet and clicked) param name="messageCLICK" Value=X, where x is the message to be displayed, "your message" parameter 22 Attribute: Destination URL param name="desturl" Value=X, where x is the destination URL to be loaded when the link is clicked, use the complete syntax (e.g. "http://www.opencube.com")

LinkText © 1996, OpenCube Technologies