Applets by JObjects.net

 
   
Fugazi Consulting Ltd

    License and Agreement Applet

Offline Documentation :

Microsoft Word Document : jonetLicense.doc (90k)
Text Document : jonetLicense.txt (15k)

 
Online Documentation :

HTML Example

<applet code="jonetLicense.class" width=350 height=350>
<param name="buttoncolor" value="D6D3CE">
<param name="backcolor" value="FFFFFF">
<param name="forecolor" value="000000">
<param name="inputcolor" value="FFFFFF">
<param name="ButtonCaption" value="OK">
<param name="title" value="JObjects.net License Information">
<param name="titlefontsize" value="14">
<param name="titlefontface" value="Dialog">
<param name="titlefontstyle" value="Bold">
<param name="textfontsize" value="12">
<param name="textfontface" value="Dialog">
<param name="textfontstyle" value="Plain">
<param name="buttonfontsize" value="12">
<param name="buttonfontface" value="Dialog">
<param name="buttonfontstyle" value="Plain">
<param name="rows" value="15">
<param name="cols" value="45">
<param name="url" value="http://www.agree.com">
<param name="errorurl" value="http://www.disagree.com">
<param name="text_1" value="STANDARD LICENSE (2004)">
<param name="text_2" value="">
<param name="text_3" value="Fugazi Consulting Ltd hereby grants you">
<param name="text_4" value="license to use accompanying software ">
     :           :           :           :           :           :           :           :           :           :           :
<param name="text_18" value="This license does grant you any right">
<param name="text_19" value="to any enhancement or update">
</applet>
 

Installation and Configuration

Download the class file.  Use the "Buy Now" button above.

Copy the above code (in bold) into your HTML (note, not the content) of your web page, then copy the class file into the same directory.

You can customise your applet by changing the following parameters (some or all of which are optional, i.e. can be omitted) :
 
buttoncolor the color of the button, see below.  Defaults to gray if parameter is omitted
backcolor the color of the background, see below.  Defaults to white if parameter is omitted
forecolor the color of the text, see below.  Defaults to black if parameter is omitted
inputcolor the color of the background of the main text area, see below.  Defaults to white if parameter is omitted
ButtonCaption the caption of the button.  Defaults to "OK" if parameter is omitted.
title the main title along the top.  Defaults to "License Information" if parameter is omitted
titlefontsize font size of the title, defaults to 14
titlefontface font face of the tile, can be Serif, SansSerif, Dialog, Monospaced.  Defaults to Dialog.
titlefontstyle font style of the title, can be Plain, Bold, Italic.  Defaults to Bold if parameter is omitted
textfontsize font size of the main text, defaults to 12
textfontface font face of the main text, can be Serif, SansSerif, Dialog, Monospaced.  Defaults to Dialog.
textfontstyle font style of the main text, can be Plain, Bold, Italic.  Defaults to Plain if parameter is omitted
buttonfontsize font size of the button text, defaults to 12
buttonfontface font face of the button text, can be Serif, SansSerif, Dialog, Monospaced.  Defaults to Dialog.
buttonfontstyle font style of the button text, can be Plain, Bold, Italic.  Defaults to Plain if parameter is omitted
rows the number of rows of text to display on the main license box.  Should be linked in with the height of the applet.
cols the number of columns (chars width) of text to display on the main license box.  Should be linked in with the width of the applet.
url the complete URL of the page to go to when the user agrees with your license.
errorurl the complete URL of the page to go to if the user does not agree with your license yet still clicks the button.
text_n starting at 1 and sequentially increasing after that, the lines of text that will appear in the main license box.  Box will scroll up and down if more lines are in the license than can be displayed.  Box will scroll left and right if text is longer than the width of the text box, but we recommend that you limit the length of each line to fit without the need for left/right scrolling.   No limit to the number of lines you can have.

This applet displays the components (controls, i.e. the title, text box, check boxes, button) in sequential order.  When resizing the applet by changing the width and height of the applet, if the controls appear next to each other, or out of sequence, alter the size of the title and/or main text block (fields rows and cols) until the desired effect is achieved.

Notes on color : the color values are hex values of RGB (red, green, blue).  A value of FF8844 means a red value of FF, a green value of 88 and a blue value of 44.  In decimal, this hex converts to 256, 128 and 64.  The standard Windows Paint software can be useful for working out RGB values for a color of your choice.
 

Color Hex Values and URL Target Values

More information on calculating color hexadecimal values and what URL Target window values mean can be found here.


Download Demo

There is a demo version which you can use to try out the applet before purchasing.  Demo version is fully functional, but will only ever go to this page.  Replace the name of the class in the html above with jonetLicenseDemo.class

Download here : jonetLicenseDemo.class

 

 
 

[home]   [products]   [site map]   [license information]   [support]   [links]

Buy and Download

Click to return to main page.

Support

Having problems ?  Can't get it to work ? Confused ? We're here to help !  Click here for our Support Page

[Java (TM) Trademark Disclaimer - click here]
Java and all Java-based marks are a trademark or registered trademark of Sun Microsystems, Inc, in the United States and other countries.

[Copyright © 1997 - 2004 Fugazi Consulting Limited - All rights reserved. ]

 
 

TrafficFile :

  • Want to know who's visiting your site ?  For everything from a free feature rich hit counter to Advanced Web Site and Visitor Tracking, click here

    Web Hosting :

    • Are you looking for a better web hosting company ? Superb web hosting at a Superb price, click here 

      Recommended Links :

      • After Graphs and Charts ? MANMAN development ? For further information click here
      • Learning Web Development ? JScript ? Indispensable books we recommend can be found here