aDraw V 1.00

[ aDraw | tCalDate | tListe | tEuroCalc | tCalEvent | tChart | tFunction | tOnglet | tCChat | tCount ]
[ aTicker | aFont | aSearch | tBBar | tMButton tButton tScroll | tPassword | Winmine ]
[ Home | Applets | Servlets | ASP components ]


INDEX
ASP ou JSP
To "save" the drawing in gif or png format the applet can use there components
 JSP jspImage
 ASP acxImage
  • Sample 1 Simple use
  • Sample 2 Create and save your drawing (external save JSP format).
  • Sample 3 Create and save your drawing (internal save ASP format).



News V 1.00
VERSION 1.00
  • nothing.. creation...
Index



Description
aDraw is a drawing java applet including a save option with acxImage and jspImage components. It works on all the navigators supporting the JDK 1.1. With this java applet you can easily include a drawing option in your Internet or Intranet site.
Index



Registration
aDraw is a FreeWare for non commercial site.
For personnal use you want add a reference to me (my URL page) and send to me your URL (with aDraw applet).
For a professional use you want get a "professional registration". With this registration you can use aDraw with no reference to me and i send to you all aDraw source.
R. BERTHOU.
Index



HTML Source
<applet code="aDraw.class" archive="aDraw.jar" width="520" height="330" MAYSCRIPT name="aDraw">
  <param name="url" value="javascript:test();">
  <param name="save" value="yes">
  <param name="bgcolor" value="#D0D0D0">
  <param name="bouton" value="bouton.gif">
</applet>
Index



Parameters
Param nameTypeDescription
savestringIf this parameter is define a "Save" button is show in the applet with parameter value for label.
bgcolorintegerDefine background color (start by "#" if hexa).
boutonstringrelative URL for gif button definition (default "bouton.gif")
urlStringThis URL string define "Save" action. You can call URL or javascript function.

Sample :
  • <param name="url" value="http://www.mycgiserver.com/~javaside/aDraw.jsp">
  • <param name="url" value="http://www.aspside.com/adraw/save.asp>
  • <param name="url" value="javascript:save();>
Index



Utilisation
ImageDescription
Active foreground and background color. You can change there colors with color palet.
Pencil : Can use forground or background color with right or left mouse button, and you can change the line size.
Line : Can use forground or background color with right or left mouse button, and you can change the line size.
Gum : Erase drawing with background color.
Text : To draw a text.
Rectangle.
Oval.
Fill function .
Change size line for pencil and line functions.
Erase all drawing ( !! Warning : no alert message ).

Color palet.

Font selection and input zone.
Index



History
1.00Creation.
Index



Applet download
aDraw adraw.zip V1.00 (163Ko)    (backup)
Index


Copyright © 1996..2002, BERTHOU. All right reserved.
Last change : 02 Juillet 2002 18H16