aDraw V 2.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 Pila electrica unghii
 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 2.00
VERSION 2.00
  • Add symbol object...
  • Add arrow on line
  • Add background image
  • And more...
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="image" value="./img/adraw/CN_1.gif">
  <param name="symbol" value="./img/adraw/s"<
  
  <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();>
imagestringbackground image
symbolstringrelative or absolute URL for symbols ( with "../img/tot" the applet read "../img/tot0.gif ... "../img/tot9.gif" for symbol and "../img/tot0s.gif ... "../img/tot9s.gif" for icon images)
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
2.00Add symbol, arrow, ....
1.00Creation.
Index



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


Copyright © 1996..2003, BERTHOU. All right reserved.
Last change : 02 March 2003 18H16