ColorBook Java Applet Commerical Version 2
Information : Colorbook is a "color book" applet that allows you to interactively fill in colors for the various objects inside of it. URL: http://coloringbook.tripod.com Author: Gokhan Dagli Mail : quickshare@excite.com Class Files : colorbook.class , palette.class This effect contains the code by Gokhan Dagli, used under a licence. Before using this applet you must read the license agreement. Cost: 39USD You can buy it when finished testing. Buy it once, use same regcode for new versions! you have to pay small amount of money and receive your registration codes (regcodes). You can buy the registration code using a credit card through Regsoft secure servers. Sample : |
Include the applet in an HTML page with code similar to the following:
|
Other Samples :
Code explanations :
The following instructions describe the meaning of the available parameters for this applet: |
<APPLET code=colorbook.class width=490 height=270> | The applet tag identifies the location, class file name, and size of a Java applet. The first part of the tag code=colorbook.class identifies the name of the Java applet. The second and third part of the applet tag identifies the width and height of the applet (usually measured in screen pixels). |
<PARAM NAME=regcode VALUE=""> | Registration code (if you have it). In the "regcode" parameter, place the registration code you purchased from us. You have to pay small amount of money and receive your registration code (regcode). |
<PARAM NAME=info VALUE="Applet by Gokhan Dagli,coloringbook.tripod.com"> | Information about the Colorbook. |
<PARAM NAME=picture VALUE="ppict.gif"> | Design a graphic for coloring and save it in the same directory as the applet classes. This image must be a gif file and it has only two colors, white and black. (Please use two colors gif palette, don't use 256 color palette. You can use MS Paint for create this image.)If you select the background image smaller than the paint area, it cannont fully cover the are, however this is acceptable. |
<PARAM NAME=paletteposition VALUE="vertical"> | You can set "vertical" or "horizontal" mode. |
<PARAM NAME=palettecolor VALUE="bbbbbb"> | Use "palettecolor" to change palette color. The format is same as the html color format, without the leading #. |
<PARAM NAME=palettewidth VALUE="180"> | This tag identifies the width of the palette. |
<PARAM NAME=paletteheight VALUE="270"> | This tag identifies the height of the palette. |
<PARAM NAME=basx VALUE="10"> | x koordidate of the color boxes |
<PARAM NAME=basy VALUE="10"> | y koordidate of the color boxes |
<PARAM NAME=brushcolor VALUE="7aa0f7"> | You can decide the default brush color with "brushcolor" |
<PARAM NAME=brushcolorposx VALUE="16"> | x koordidate of the brush color box |
<PARAM NAME=brushcolorposy VALUE="130"> | y koordidate of the brush color box |
<PARAM NAME=clearbut_posx VALUE="26"> | x koordinate of the clear button. |
<PARAM NAME=clearbut_posy VALUE="182"> | y koordinate of the clear button. |
<PARAM NAME=column_count VALUE="3"> | Color column count of the palette. |
<PARAM NAME=colorcount VALUE="12"> | Color count. |
<PARAM NAME=color1 VALUE="09a030"> | First color. |
<PARAM NAME=color2 VALUE="e01919"> | Second color. |
<PARAM NAME=color3 VALUE="7aa0f7"> | Third color. |
<PARAM NAME=color4 VALUE="09328d"> | Fourth color. |
<PARAM NAME=color5 VALUE="8d3e09"> | Fifth color. |
<PARAM NAME=color6 VALUE="777777"> | Sixth color. |
<PARAM NAME=color7 VALUE="ff99ff"> | Seventh color. |
<PARAM NAME=color8 VALUE="0090a2"> | Eighth color. |
<PARAM NAME=color9 VALUE="efe2ad"> | Nineth color. |
<PARAM NAME=color10 VALUE="ffcc00"> | Tenth color. |
<PARAM NAME=color11 VALUE="ea1eea"> | Eleventh color. |
<PARAM NAME=color12 VALUE="57d948"> | Twelfth color. |
</applet> | The last part works like all other HTML tags and defines the end of the applet tag </applet>. |
Getting Started
Troubleshooting & Support
|