<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Berthou.com &#187; applet</title>
	<atom:link href="http://www.berthou.com/us/category/applet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.berthou.com/us</link>
	<description>A french developper blog</description>
	<lastBuildDate>Mon, 09 Aug 2010 08:55:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
		<item>
		<title>tEuroCalc &#8211; Java Calculator</title>
		<link>http://www.berthou.com/us/2008/01/04/teurocalc-java-calculator/</link>
		<comments>http://www.berthou.com/us/2008/01/04/teurocalc-java-calculator/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 12:39:53 +0000</pubDate>
		<dc:creator>rberthou</dc:creator>
				<category><![CDATA[applet]]></category>

		<guid isPermaLink="false">http://www.berthou.com/us/2008/01/04/teurocalc-java-calculator/</guid>
		<description><![CDATA[Index Applet tEurocalc description Sample use Sample use 2 Description tEuroCalc is a little Calculator/Converter Applet. Its very small size allows an easy use (14 Ko). tEuroCalc runs on all browsers with support JDK 1.1. With this applet you can make all standard operations (&#8220;+&#8221;, &#8220;-&#8221;, &#8220;/&#8221;, &#8220;*&#8221;, &#8220;%&#8221;&#8230;) and you can convert european devises [...]]]></description>
				<content:encoded><![CDATA[<h2 class="titre2">Index</h2>
<ul>
<li>Applet tEurocalc description</li>
<li><a href="/us/?p=32">Sample use</a></li>
<li><a href="/us/?p=33">Sample use 2</a></li>
</ul>
<h2 class="titre2">Description</h2>
<p><img src="/_img/teurocalc.png" class="right"/><br />
tEuroCalc is a little Calculator/Converter Applet. Its very small size allows an easy use (14 Ko). tEuroCalc runs on all browsers with support JDK 1.1. With this applet you can make all standard operations (&#8220;+&#8221;, &#8220;-&#8221;, &#8220;/&#8221;, &#8220;*&#8221;, &#8220;%&#8221;&#8230;) and you can convert european devises in Euro.</p>
<h2 class="titre2">Download</h2>
<p class="alertDownload"><a href="/download.php?type=java&#038;file=teurocalc.zip">tEuroCalc.zip</a></p>
<h2 class="titre2">News</h2>
<p class="titre3">Version 2.00 </p>
<ul>
<li>Add LiveConnect support for Java<->Javascript communication </li>
<li>Add layer sample </li>
<li>Add greece devise </li>
</ul>
<p><span id="more-31"></span></p>
<h2 class="titre2">HTML Source </h2>
<p class="alertCode">
&lt;applet code=com.berthou.applet.teurocalc.Teurocalc.class  NAME=&#8221;tcalc&#8221; width=178 height=180&gt;<br />
    &lt;param name=bgimg      value=&#8221;./piece_2.gif&#8221;&gt;<br />
    &lt;param name=trimg       value=&#8221;trame.gif&#8221;&gt;<br />
    &lt;param name=flag	        value=&#8221;euro_flag.gif&#8221;&gt;<br />
    &lt;param name=font	       value=&#8221;Arial&#8221;&gt;<br />
    &lt;param name=fontsize   value=12&gt;<br />
    &lt;param name=fontstyle  value=1&gt;<br />
    &lt;param name=font2       value=&#8221;Arial&#8221;&gt;<br />
    &lt;param name=fontsize2  value=12&gt;<br />
    &lt;param name=fontstyle2 value=1&gt;<br />
    &lt;param name=font3       value=&#8221;Arial&#8221;&gt;<br />
    &lt;param name=fontsize3  value=12&gt;<br />
    &lt;param name=wcel        value=4&gt;<br />
    &lt;param name=hcel	        value=24&gt;<br />
    &lt;param name=nbdec      value=3&gt;<br />
    &lt;param name=bgcolor     value=13684944&gt;<br />
    &lt;param name=bgcolor2   value=14737663&gt;<br />
    &lt;param name=bgcolor3   value=400&gt;<br />
    &lt;param name=t_col1      value=400&gt;<br />
    &lt;param name=t_col2      value=8421520&gt;<br />
    &lt;param name=t_col3      value=14737663&gt;<br />
&lt;/applet&gt;
</p>
<h2 class="titre2">Parameters</h2>
<table class="tbl1">
<thead class="rh">
<tr>
<th>Param name</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr class="r1">
<td>bgimg</td>
<td>string</td>
<td>back ground image</td>
</tr>
<tr class="r2">
<td>trimg</td>
<td>string</td>
<td>grid image (button).</td>
</tr>
<tr class="r1">
<td>flag</td>
<td>string</td>
<td>flag image (12 flags)</td>
</tr>
<tr class="r2">
<td>iactif</td>
<td>integer</td>
<td>active money
<ul>
<li>1 : BEF / 40.3399 </li>
<li>2 : DEM / 1.95583 </li>
<li>3 : ESP / 166.386 </li>
<li>4 : FRF / 6.55957 </li>
<li>5 : IEP / 0.787564 </li>
<li>6 : ITL / 1936.27 </li>
<li>7 : LUF / 40.3399 </li>
<li>8 : NLG / 2.20371 </li>
<li>9 : ATS / 13.7603 </li>
<li>10: PTE / 200.482 </li>
<li>11: FIM / 5.94573 </li>
<li>12: GRD / 340.75</li>
</ul>
</td>
</tr>
<tr class="r1">
<td>script</td>
<td>string</td>
<td>Javascript call method</td>
</tr>
<tr class="r2">
<td>wcel</td>
<td>integer</td>
<td>width size (button size / 6) </td>
</tr>
<tr class="r1">
<td>hcel</td>
<td>integer</td>
<td>height size (button size) </td>
</tr>
<tr class="r2">
<td>nbdec</td>
<td>integer</td>
<td>number precision (display) </td>
</tr>
<tr class="r1">
<td>bgcolor</td>
<td>integer</td>
<td>bg color 1 </td>
</tr>
<tr class="r2">
<td>bgcolor2</td>
<td>integer</td>
<td>bg color 2 </td>
</tr>
<tr class="r1">
<td>bgcolor3</td>
<td>integer</td>
<td>bg color 3 </td>
</tr>
<tr class="r2">
<td>t_col1</td>
<td>intege</td>
<td>texte color 1 </td>
</tr>
<tr class="r1">
<td>t_col2 integer texte color 2 </td>
</tr>
<tr class="r2">
<td>t_col3</td>
<td>integer</td>
<td>texte color 3 </td>
</tr>
<tr class="r1">
<td>font</td>
<td>text</td>
<td>Font Name (display zone) </td>
</tr>
<tr class="r2">
<td>fontsize</td>
<td>integer</td>
<td>Font Size </td>
</tr>
<tr class="r1">
<td>fontstyle</td>
<td>integer</td>
<td>Font Style (0,1,2,3) </td>
</tr>
<tr class="r2">
<td>font2</td>
<td>text</td>
<td>Font Name (button zone) </td>
</tr>
<tr class="r1">
<td>fontsize2</td>
<td>integer</td>
<td>Font Size </td>
</tr>
<tr class="r2">
<td>fontstyle2</td>
<td>integer</td>
<td>Font Style (0,1,2,3) </td>
</tr>
<tr class="r1">
<td>font3</td>
<td>text</td>
<td>Font Name (help zone) </td>
</tr>
<tr class="r2">
<td>fontsize3</td>
<td>integer</td>
<td>Font Size </td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.berthou.com/us/2008/01/04/teurocalc-java-calculator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>aTicker &#8211; applet</title>
		<link>http://www.berthou.com/us/2007/12/18/aticker-applet/</link>
		<comments>http://www.berthou.com/us/2007/12/18/aticker-applet/#comments</comments>
		<pubDate>Tue, 18 Dec 2007 21:51:57 +0000</pubDate>
		<dc:creator>rberthou</dc:creator>
				<category><![CDATA[applet]]></category>
		<category><![CDATA[exemple]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://www.berthou.com/us/2007/12/18/aticker-applet/</guid>
		<description><![CDATA[Description aTicker is a simple, free and small Ticker texte scrolling Applet. aTicker runs on all browsers with JDK 1.1x support. (aTicker is free with all source code). This applet is available in JDK 1.1x Source HTML &#60;applet codebase="/jar" archive="applet-aticker.jar" code="com.berthou.applet.aticker.aticker.class" width=220 height=20 mayscript&#62; &#60;param name=file value="s"&#62; &#60;param name=cSep value="§"&#62; &#60;param name="speed" value="1"&#62; &#60;param name="delay" [...]]]></description>
				<content:encoded><![CDATA[<h2 class="titre2">Description</h2>
<p>aTicker is a simple, free and small Ticker texte scrolling Applet. aTicker runs on all browsers with JDK 1.1x support. (aTicker is free with all source code).<br />
This applet is available in JDK 1.1x</p>
<p><center><br />
<applet codebase="/jar" archive="applet-aticker.jar" code="com.berthou.applet.aticker.aticker.class" width=220 height=20 MAYSCRIPT></p>
<param name=file value="s">
<param name=cSep value="§">
<param name="speed" value="1">
<param name="delay" value="30">
<param name="local" value="true">
<param name="bgcolor" value="13693183">
<param name="Font1" value="Verdana, 14, 0, 0">
<param name="Font2" value="Verdana, 14, 1, 1220">
<param name="s0" value="JavaSide § http://www.javaside.com § _load">
<param name="s1" value="Mess 2 § javascript:alert('Salut...') § _script § ?PopupJavascript">
<param name="s2" value="berthou-fr § http://www.berthou.com/fr/ § _load">
<param name="s3" value="berthou-us § http://www.berthou.com/us/ § _load">
</applet></p>
<p></center></p>
<h2 class="titre2">Source HTML</h2>
<pre class="alertCode">
&lt;applet codebase="/jar" archive="applet-aticker.jar" code="com.berthou.applet.aticker.aticker.class" width=220 height=20 mayscript&gt;
	&lt;param name=file value="s"&gt;
	&lt;param name=cSep value="§"&gt;
	&lt;param name="speed" value="1"&gt;
	&lt;param name="delay" value="30"&gt;
	&lt;param name="local" value="true"&gt;
	&lt;param name="bgcolor" value="13693183"&gt;
	&lt;param name="Font1" value="Verdana, 14, 0, 0"&gt;
	&lt;param name="Font2" value="Verdana, 14, 1, 1220"&gt;
	&lt;param name="s0" value="JavaSide § http://www.javaside.com § _load"&gt;
	&lt;param name="s1" value="Mess 2 § javascript:alert('Salut...') § _script § ?PopupJavascript"&gt;
	&lt;param name="s2" value="berthou-fr § http://www.berthou.com/fr/ § _load"&gt;
	&lt;param name="s3" value="berthou-us § http://www.berthou.com/us/ § _load"&gt;
&lt;/applet&gt;
</pre>
<p><span id="more-29"></span></p>
<h2 class="titre2">Parameters</h2>
<table class="tbl0" >
<thead>
<tr class="rh">
<th>Param name</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr class="r1">
<td>file</td>
<td>string</td>
<td>Data file or prefix pour &#8220;line param&#8221;</td>
</tr>
<tr class="r2">
<td>cSep</td>
<td>char</td>
<td>text delimiteur (defaut &#8220;;&#8221;)</td>
</tr>
<tr class="r1">
<td>speed</td>
<td>integer</td>
<td>vitesse de defilement (1)</td>
</tr>
<tr class="r2">
<td>local</td>
<td>String</td>
<td>&#8220;true&#8221; : to read datas in parameters (no external data file)</td>
</tr>
<tr class="r1">
<td>delay</td>
<td>integer</td>
<td>mili-secs entre 2 affichages (100)</td>
</tr>
<tr class="r2">
<td>bgcolor</td>
<td>integer</td>
<td>Background color (en decimal)</td>
</tr>
<tr class="r1">
<td>Font1</td>
<td>String</td>
<td>Definition de la police : Face, Size, Style, color</td>
</tr>
<tr class="r2">
<td>Font2</td>
<td>String</td>
<td>Definition de la police active: Face, Size, Style, color</td>
</tr>
</tbody>
</table>
<h2 class="titre2">Data file</h2>
<p>You can define your data in external file (static or dynamique PHP, ASP, ..) you must remove &#8220;local&#8221; parameter to use an external file</p>
<table class="tbl0">
<thead class="rh">
<tr>
<th>Col</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr class="r1">
<td>1 Message</td>
<td>string</td>
<td>message</td>
</tr>
<tr class="r2">
<td>2 URL</td>
<td>string</td>
<td>Link URL<br /> si &#8220;&#8211;&#8221; pas de lien</td>
</tr>
<tr class="r1">
<td>3 Target</td>
<td>string</td>
<td>utiliser _script pour un appel javascript</td>
</tr>
<tr class="r2">
<td>4 Status line</td>
<td>String</td>
<td>Message affiché dans la ligne de &#8220;status&#8221;</td>
</tr>
</tbody>
</table>
<h2 class="titre2">Download</h2>
<p class="alertDownload">
<a href="/download.php?type=java&#038;file=aticker.zip">aticker.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.berthou.com/us/2007/12/18/aticker-applet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LiaDash &#8211; Boulderdash game Applet</title>
		<link>http://www.berthou.com/us/2007/12/11/liadash-boulderdash-game-applet/</link>
		<comments>http://www.berthou.com/us/2007/12/11/liadash-boulderdash-game-applet/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 18:46:19 +0000</pubDate>
		<dc:creator>rberthou</dc:creator>
				<category><![CDATA[applet]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[game]]></category>

		<guid isPermaLink="false">http://www.berthou.com/us/2007/12/11/liadash-boulderdash-game-applet/</guid>
		<description><![CDATA[LiaDash You are Lia (), the aim in your life is to get all the keys () of the level and a certain amount of jewels () without being crushed by the boulders () and the Jewel. To get the jewels you can eat the ground. Warning ! Destroy all monsters and crunch under a [...]]]></description>
				<content:encoded><![CDATA[<h2 class="titre2">LiaDash</h2>
<p><img src="/_img/b_dash.png" class="left"/><br />
You are Lia (<img src="/jar/bdash/img/pipo.gif" />), the aim in your life is to get all the keys (<img alt="keys" src="/jar/bdash/img/pq.gif" />) of the level and a certain amount of jewels (<img alt="keys" src="/jar/bdash/img/diam.gif" />) without being crushed by the boulders (<img alt="keys" src="/jar/bdash/img/boule.gif" />) and the Jewel. To get the jewels you can eat the ground.<br />
Warning ! Destroy all monsters and crunch under a boulder to cross the uncrossable wall !</p>
<h2 class="titre2">How to play &#8230; </h2>
<ul>
<li>The arrow keys to move Lia</li>
<li>&#8220;F2&#8243; key to start a new game</li>
<li>and you can commit suicide with the &#8220;End&#8221; key</li>
</ul>
<p><span id="more-26"></span><br />
<center><br />
		<applet codebase="/jar/bdash" height=400 width=620 code=aDash.class _archive="/jar/BDash.jar"></p>
<param name="img" value="img/">
<param name="audio" value="au/">
		</applet><br />
</center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.berthou.com/us/2007/12/11/liadash-boulderdash-game-applet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>aDraw &#8211; Drawing Applet</title>
		<link>http://www.berthou.com/us/2007/12/01/adraw-drawing-applet/</link>
		<comments>http://www.berthou.com/us/2007/12/01/adraw-drawing-applet/#comments</comments>
		<pubDate>Sat, 01 Dec 2007 22:36:02 +0000</pubDate>
		<dc:creator>rberthou</dc:creator>
				<category><![CDATA[applet]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.berthou.com/us/?p=21</guid>
		<description><![CDATA[Index Applet aDraw description Sample use (with save option) Description aDraw is a drawing java applet including a save option with acxImage and jspImage components or a php script. 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 [...]]]></description>
				<content:encoded><![CDATA[<h2 class="titre2">Index</h2>
<ul>
<li>Applet aDraw description</li>
<li><a href="?p=22">Sample use (with save option)</a></li>
</ul>
<h2 class="titre2">Description</h2>
<p>aDraw is a drawing java applet including a save option with acxImage and jspImage components or a php script. 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.<br />
<img src="/_img/adraw.png" class="center"/></p>
<h2 class="titre2">Download</h2>
<p class="alertDownload"><a href="/download.php?type=java&#038;file=adraw.zip">aDraw.zip</a></p>
<h2 class="titre2">News</h2>
<p class="titre3">Version 2.00 </p>
<ul>
<li>Add arrow on lines  </li>
<li>Add background image </li>
<li>Add symbol object&#8230;  </li>
</ul>
<p><span id="more-21"></span></p>
<h2 class="titre2">Enregistrement</h2>
<p>aDraw is a FreeWare for non commercial site.<br />
For personnal use you want add a reference to me (my URL page) and send to me your URL (with aDraw applet).<br />
For a professional use you want get a &#8220;professional registration&#8221;. With this registration you can use aDraw with no reference to me and i send to you all aDraw source.<br />
For more information on &#8220;Professional registration&#8221; you can use this form :<br />
<div id="wpcf"><fieldset><legend>Contact Form</legend><form action="http://www.berthou.com/us/2007/12/01/adraw-drawing-applet/" name="wpcf_form" method="post"><input type="hidden" value="process" name="wpcf_stage"/><p><label for="wpcf_your_name">Your Name:</label><input class="field" type="text" name="wpcf_your_name" id="wpcf_your_name" maxlength="50" tabindex="11" value="" /></p><p><label for="wpcf_email">Your Email:</label><input class="field" type="text" name="wpcf_email" id="wpcf_email" maxlength="50" tabindex="12" value="" /></p><p><label>Challenge:</label><span class="challenge">(no spam question) 4 + 2 =</span></p><p><label for="wpcf_response">Answer:</label><input class="field" type="text" name="wpcf_response" id="wpcf_response" maxlength="50" tabindex="13" value="" /></p><p><label for="wpcf_website">Your Website:</label><input class="field" type="text" name="wpcf_website" id="wpcf_website" maxlength="100" tabindex="14" value="" /></p><p><label for="wpcf_usersubject">Subject:</label><input class="field" type="text" name="wpcf_usersubject" id="wpcf_usersubject" tabindex="15" maxlength="50" value="" /></p><p><label for="wpcf_msg">Your Message:</label><textarea name="wpcf_msg" id="wpcf_msg" cols="" rows="" tabindex="16"></textarea></p><p class="button"><input id="contactsubmit" type="submit" value="Submit" tabindex="18" name="Submit"/></p></form></fieldset></div></p>
<h2 class="titre2">HTML Source </h2>
<p class="alertCode">
&lt;applet code=&#8221;aDraw.class&#8221; archive=&#8221;aDraw.jar&#8221; width=&#8221;520&#8243; height=&#8221;330&#8243; MAYSCRIPT name=&#8221;aDraw&#8221;&gt;<br />
&nbsp; &nbsp; &lt;param name=&#8221;url&#8221; value=&#8221;javascript:test();&#8221;&gt;<br />
&nbsp; &nbsp; &lt;param name=&#8221;save&#8221; value=&#8221;yes&#8221;&gt;<br />
&nbsp; &nbsp; &lt;param name=&#8221;bgcolor&#8221; value=&#8221;#D0D0D0&#8243;&gt;<br />
&nbsp; &nbsp; &lt;param name=&#8221;image&#8221; value=&#8221;CN_1.gif&#8221;&gt;<br />
&nbsp; &nbsp; &lt;param name=&#8221;symbol&#8221; value=&#8221;s&#8221;&gt;<br />
&nbsp; &nbsp; &lt;param name=&#8221;sizeW&#8221; value=&#8221;430&#8243;&gt;<br />
&nbsp; &nbsp; &lt;param name=&#8221;sizeH&#8221; value=&#8221;250&#8243;&gt;<br />
&nbsp; &nbsp; &lt;param name=&#8221;bouton&#8221; value=&#8221;bouton.gif&#8221;&gt;<br />
&lt;/applet&gt;
</p>
<h2 class="titre2">Parameters</h2>
<table class="tbl1">
<thead class="rh">
<tr>
<th>Param name</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr class="r1">
<td>save</td>
<td>string</td>
<td>If this parameter is define a &#8220;Save&#8221; button is show in the applet with parameter value for label.</td>
</tr>
<tr class="r2">
<td>bgcolor</td>
<td>integer</td>
<td>Define background color (start by &#8220;#&#8221; if hexa).</td>
</tr>
<tr class="r1">
<td>bouton</td>
<td>string</td>
<td>relative URL for gif button definition (default &#8220;bouton.gif&#8221;)</td>
</tr>
<tr class="r2">
<td>url</td>
<td>string</td>
<td>This URL string define &#8220;Save&#8221; action. You can call URL or javascript function.<br />
Sample :
<ul>
<li>&lt;param name=&#8221;url&#8221; value=&#8221;http://www.mycgiserver.com/~javaside/aDraw.jsp&#8221;&gt;</li>
<li>&lt;param name=&#8221;url&#8221; value=&#8221;http://www.berthou.com/adraw/save.php&#8221;&gt;</li>
<li>&lt;param name=&#8221;url&#8221; value=&#8221;javascript:sauvegarde();&#8221;&gt;</li>
</td>
</tr>
<tr class="r1">
<td>image</td>
<td>string</td>
<td>background image</td>
</tr>
<tr class="r2">
<td>symbol</td>
<td>string</td>
<td>relative or absolute URL for symbols ( with &#8220;../img/tot&#8221; the applet read &#8220;../img/tot0.gif &#8230; &#8220;../img/tot9.gif&#8221; for symbol and &#8220;../img/tot0s.gif &#8230; &#8220;../img/tot9s.gif&#8221; for icon images</td>
</tr>
<tr class="r1">
<td>sizeW</td>
<td>integer</td>
<td>Size width drawing surface</td>
</tr>
<tr class="r2">
<td>sizeH</td>
<td>integer</td>
<td>Size height drawing surface</td>
</tr>
</tbody>
</table>
<h2 class="titre2">Utilisation</h2>
<table class="tbl1">
<thead class="rh">
<tr>
<th>Image</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr class="r1">
<td class="tdc"><img src="/_img/adraw_0.gif"></td>
<td>Active foreground and background color. You can change there colors with color palet.</td>
</tr>
<tr class="r2">
<td class="tdc"><img src="/_img/adraw_1.gif"></td>
<td>Pencil : Can use forground or background color with right or left mouse button, and you can change the line size.</td>
</tr>
<tr class="r1">
<td class="tdc"><img src="/_img/adraw_2.gif"></td>
<td>Line : Can use forground or background color with right or left mouse button, and you can change the line size.</td>
</tr>
<tr class="r2">
<td class="tdc"><img src="/_img/adraw_3.gif"></td>
<td>Gum : Erase drawing with background color.</td>
</tr>
<tr class="r1">
<td class="tdc"><img src="/_img/adraw_4.gif"></td>
<td>Text : To draw a text.</td>
</tr>
<tr class="r2">
<td class="tdc"><img src="/_img/adraw_5.gif"></td>
<td>Rectangle.</td>
</tr>
<tr class="r1">
<td class="tdc"><img src="/_img/adraw_6.gif"></td>
<td>Oval.</td>
</tr>
<tr class="r2">
<td class="tdc"><img src="/_img/adraw_7.gif"></td>
<td>Fill function .</td>
</tr>
<tr class="r1">
<td class="tdc"><img src="/_img/adraw_8.gif"></td>
<td>Change size line for pencil and line functions.</td>
</tr>
<tr class="r2">
<td class="tdc"><img src="/_img/adraw_9.gif"></td>
<td>Erase all drawing ( !! Warning : no alert message ).</td>
</tr>
<tr class="r1">
<td class="tdc"></td>
<td><img src="/_img/adraw_10.gif"><br/>Color palet.</td>
</tr>
<tr class="r2">
<td></td>
<td><img src="/_img/adraw_11.gif"><br/>Font selection and input zone.</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.berthou.com/us/2007/12/01/adraw-drawing-applet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>tChart</title>
		<link>http://www.berthou.com/us/2007/11/01/tchart/</link>
		<comments>http://www.berthou.com/us/2007/11/01/tchart/#comments</comments>
		<pubDate>Thu, 01 Nov 2007 21:18:28 +0000</pubDate>
		<dc:creator>rberthou</dc:creator>
				<category><![CDATA[applet]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.berthou.com/us/?p=6</guid>
		<description><![CDATA[Description tChart is a Chart Applet. The applet&#8217;s size is very small (14Ko&#8230;25Ko). tChart runs on all browsers with JDK 1.1 support (or greater). tChart is a simple sample of my cChart Component. With tChart you can draw : Bars, lines, pies, data tables, Area&#8230; Download tChart.zip News V5.31 Version V 5.31 Correct a small [...]]]></description>
				<content:encoded><![CDATA[<p><a title="_0" name="_0"></a></p>
<h2 class="titre2">Description</h2>
<p>
tChart is a <b>Chart Applet</b>. The applet&#8217;s size is very small (14Ko&#8230;25Ko). tChart runs on all browsers with JDK 1.1 support (or greater).<br />
tChart is a simple sample of my cChart Component. With tChart you can draw : Bars, lines, pies, data tables, Area&#8230;</p>
<p><img src="/_img/tchart.png" class="center"/></p>
<h2 class="titre2">Download</h2>
<p class="alertDownload">
<a href="/download.php?type=java&#038;file=tchart.zip">tChart.zip</a>
</p>
<h2 class="titre2">News V5.31</h2>
<p class="titre3">Version V 5.31</p>
<ul>
<li>Correct a small bug (when all values < 0)</li>
</ul>
<p class="titre3">Version 5.30</p>
<ul>
<li>add new presentation mode (point mode &#8220;8&#8243;)</li>
<li>Can change color in line</li>
<li>restore bgimg option and add center right and mosaic options</li>
<li>add javascript&#8217;s functions</li>
<li>and more&#8230;.</li>
</ul>
<p class="titre3">Version 5.20</p>
<ul>
<li>Rotate Texte in label and Ox axe</li>
<li>add tChart4 with auto-refresh</li>
<li>can change origine position</li>
<li>can change all font</li>
<li>add public method to addRow in javascript</li>
<li>change presentation in line and NAN value</li>
</ul>
<p><span id="more-6"></span></p>
<p><a title="_1" name="_1"></a></p>
<p class="titre2">Enregistrement</p>
<p>tChart is FreeWare for non commercial sites.<br />
For personal use, please add a link on your site back to my Home Page (http://www.javaside.com/) and send me the URL where you wish to place the tChart applet.<br />
For professional / commercial use, you will need to obtain a &#8220;professional registration&#8221;. With this registration you can use tChart with no reference to me and I will send you the complete tChart and cChart source.<br/><br />
If you want to use cChart in another Applet or application, then you must obtain a &#8220;professionnal registration&#8221;.<br />
For more information about <strong>&#8220;Professional registration&#8221;</strong> : <div id="wpcf"><fieldset><legend>Contact Form</legend><form action="http://www.berthou.com/us/2007/11/01/tchart/" name="wpcf_form" method="post"><input type="hidden" value="process" name="wpcf_stage"/><p><label for="wpcf_your_name">Your Name:</label><input class="field" type="text" name="wpcf_your_name" id="wpcf_your_name" maxlength="50" tabindex="11" value="" /></p><p><label for="wpcf_email">Your Email:</label><input class="field" type="text" name="wpcf_email" id="wpcf_email" maxlength="50" tabindex="12" value="" /></p><p><label>Challenge:</label><span class="challenge">(no spam question) 4 + 2 =</span></p><p><label for="wpcf_response">Answer:</label><input class="field" type="text" name="wpcf_response" id="wpcf_response" maxlength="50" tabindex="13" value="" /></p><p><label for="wpcf_website">Your Website:</label><input class="field" type="text" name="wpcf_website" id="wpcf_website" maxlength="100" tabindex="14" value="" /></p><p><label for="wpcf_usersubject">Subject:</label><input class="field" type="text" name="wpcf_usersubject" id="wpcf_usersubject" tabindex="15" maxlength="50" value="" /></p><p><label for="wpcf_msg">Your Message:</label><textarea name="wpcf_msg" id="wpcf_msg" cols="" rows="" tabindex="16"></textarea></p><p class="button"><input id="contactsubmit" type="submit" value="Submit" tabindex="18" name="Submit"/></p></form></fieldset></div>
</p>
<p class="titre2">HTML Source</p>
<pre language="HTML">
&lt;applet code="tchart.class" width=550 height=380&gt;
   &lt;param name=bgImg value="./f_2.gif"&gt;
   &lt;param name=font value="Dialog,0,8"&gt;
   &lt;param name=fontL value="Arial,1,14"&gt;
   &lt;param name=fontT value="Arial,3,16"&gt;
   &lt;param name=origine value="50,80"&gt;
   &lt;param name=bgcolor value=14737632&gt;
   &lt;param name=frame value=25&gt;
&lt;/applet&gt;
</pre>
<p class="titre2">Parameters</p>
<table class="tbl1">
<thead class="rh">
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr class="r1">
<td>csep</td>
<td>char</td>
<td>char separator (default &#8216;;&#8217;)</td>
</tr>
<tr class="r2">
<td>file</td>
<td>string</td>
<td>File (with link to data file) use &#8220;./&#8221; for relative URL (default file.txt)</td>
</tr>
<tr class="r1">
<td>actif</td>
<td>integer</td>
<td>number of actif data file (default 0)</td>
</tr>
<tr class="r2">
<td>bgImg</td>
<td>string</td>
<td>Name of background image</td>
</tr>
<tr class="r1">
<td>cbg</td>
<td>char</td>
<td>background disposition R / L / M / C</td>
</tr>
<tr class="r2">
<td>bgcolor</td>
<td>integer</td>
<td>Border color rrggbb info (#FFFFFF)</td>
</tr>
<tr class="r1">
<td>lgcolor</td>
<td>integer</td>
<td>Line color rrggbb info (#FFFFFF)</td>
</tr>
<tr class="r2">
<td>font</td>
<td>text</td>
<td>Font bullet definition format : &#8220;name,style,size&#8221;</td>
</tr>
<tr class="r1">
<td>fontT</td>
<td>text</td>
<td>Font Title definition format : &#8220;name,style,size&#8221;</td>
</tr>
<tr class="r2">
<td>fontL</td>
<td>text</td>
<td>Font Legend definition format : &#8220;name,style,size&#8221;</td>
</tr>
<tr class="r1">
<td>origine</td>
<td>text</td>
<td>origine position format : &#8220;X,Y&#8221; default &#8220;40,40&#8243;</td>
</tr>
<tr class="r2">
<td>rotate</td>
<td>char</td>
<td>Rotate text and legend option (default &#8220;Y&#8221;)</td>
</tr>
<tr class="r1">
<td>frame</td>
<td>integer</td>
<td>Size of 2 canvas (if not define no 2 canvas)</td>
</tr>
</tbody>
</table>
<p class="titre2">File Liste Format</p>
<table class="tbl1">
<thead class="rh">
<tr>
<th>Colum</th>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="4" class="tdc">&#8220;*&#8221; =&gt; mandatory / obligatoire</td>
</tr>
<tr class="r1">
<td>1*</td>
<td>Title</td>
<td>String</td>
<td>Title of data file</td>
</tr>
<tr class="r2">
<td>2*</td>
<td>NumCol</td>
<td>Integer</td>
<td>Number of column in data file</td>
</tr>
<tr class="r1">
<td>3*</td>
<td>DataFile</td>
<td>String</td>
<td>URL of Data file</td>
</tr>
<tr class="r2">
<td>4*</td>
<td>Style</td>
<td>Integer</td>
<td>
Presentation style</p>
<ul>
<li>0 : Bar</li>
<li>1 : Line</li>
<li>2 : Pie</li>
<li>3 : SumBar</li>
<li>4 : Table</li>
<li>5 : Line Area</li>
<li>6 : Sum Line Area</li>
<li>7 : Mode point</li>
<li>8 : Mode point simple</li>
</ul>
</td>
</tr>
<tr class="r1">
<td>5</td>
<td>ExtStyle</td>
<td>Integer</td>
<td>Extended style</p>
<ul>
<li>0 &#8211; Bullet and Presentation (Default)</li>
<li>1 &#8211; No bullet / presenation</li>
<li>2 &#8211; Bullet / No presentation</li>
<li>3 &#8211; No bullet / No presentation</li>
<li>10 &#8211; bullet (in graph) / Pas presentation</li>
<li>11 &#8211; gestion sourie / Pas presentation</li>
<li>12 &#8211; bullet (in graph) / presentation</li>
<li>13 &#8211; gestion sourie / presentation</li>
</ul>
</td>
</tr>
<tr class="r2">
<td>6</td>
<td>hscale</td>
<td>Integer</td>
<td>Number of item display Without horizotal scroll (default 0 =&gt; all)</td>
</tr>
<tr class="r1">
<td>7</td>
<td>Min</td>
<td>Double</td>
<td>Force min value</td>
</tr>
<tr class="r2">
<td>8</td>
<td>Max</td>
<td>Double</td>
<td>Force max value</td>
</tr>
<tr class="r1">
<td rowspan="3">all</td>
<td>unit</td>
<td>String</td>
<td>format unit=dddddd:sssss change unit with ddddd=double unit conversion and sssss string unit (kb, cm, &#8230;)</td>
</tr>
<tr class="r2">
<td>frm</td>
<td>String</td>
<td>Decimal presentation format (Use java format) sample &#8220;#,##0.00&#8243;</td>
</tr>
<tr class="r1">
<td>ilg</td>
<td>int</td>
<td>number of mark on Ox axis. If ilg=5 cChart display 1 legend for 5 data<br/>WARNING !! if ilg=-5 cChart display 5 legends</td>
</tr>
<tr class="r2">
<td colspan="4">
<p class="alertCode">
; name      ; nbcol ;   file           ; pres ; pres2 ; nbval ; Min ; Max<br />
Kake         ; 3      ; ./txt/test.txt   ; 2    ; 10<br />
Test 0 iY    ; 1     ; ./txt/m_0.txt    ; 0    ;  1    ;       ;     ;<br />
Test 1 Bar  ; 1	    ; ./txt/m_0197.txt ; 0    ; 11    ;   5   ; 22  ; 150 ;<br />
Test 1 Aire ; 1	    ; ./txt/m_0197.txt ; 5    ;  1    ; unit=2:zz
</p>
</td>
</tr>
</tbody>
</table>
<table class="tbl1">
<thead class="rh">
<tr>
<th>Colum</th>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<th colspan="4">&#8220;*&#8221; =&gt; mandatory / obligatoire</th>
</tr>
<tr class="r1">
<td>1*</td>
<td>Title</td>
<td>String</td>
<td>Title of data file</td>
</tr>
<tr class="r2">
<td>2*</td>
<td>NumCol</td>
<td>Integer</td>
<td>Number of column in data file</td>
</tr>
<tr class="r1">
<td>3*</td>
<td>DataFile</td>
<td>String</td>
<td>URL of Data file</td>
</tr>
<tr class="r2">
<td>4*</td>
<td>Style</td>
<td>Integer</td>
<td>Presentation style</p>
<ul>
<li>0 : Bar</li>
<li>1 : Line</li>
<li>2 : Pie</li>
<li>3 : SumBar</li>
<li>4 : Table</li>
<li>5 : Line Area</li>
<li>6 : Sum Line Area</li>
<li>7 : Mode Point</li>
<li>8 : Mode point simple</li>
</ul>
</td>
</tr>
<tr class="r1">
<td>5*</td>
<td>ExtStyle</td>
<td>Integer</td>
<td>Extended style</p>
<ul>
<li>0 &#8211; Bullet and Presentation (Default)</li>
<li>1 &#8211; No bullet / presenation</li>
<li>2 &#8211; Bullet / No presentation</li>
<li>3 &#8211; No bullet / No presentation</li>
<li>10 &#8211; bullet (in graph) / No presentation</li>
<li>11 &#8211; gestion sourie / Pas presentation</li>
<li>12 &#8211; bullet (in graph) / presentation</li>
<li>13 &#8211; gestion sourie / presentation</li>
</ul>
</td>
</tr>
<tr class="r2">
<td>6*</td>
<td>Font Name</td>
<td>String</td>
<td>Font Name</td>
</tr>
<tr class="r1">
<td>7*</td>
<td>Font Size</td>
<td>Integer</td>
<td>Font Size</td>
</tr>
<tr class="r2">
<td>8*</td>
<td>BGColor</td>
<td>Integer</td>
<td>Background color (in decimal)</td>
</tr>
<tr class="r1">
<td>9*</td>
<td>xPosition</td>
<td>Integer</td>
<td>Position left</td>
</tr>
<tr class="r2">
<td>10*</td>
<td>yPosition</td>
<td>Integer</td>
<td>Position top</td>
</tr>
<tr class="r1">
<td>11*</td>
<td>Width</td>
<td>Integer</td>
<td>Size width</td>
</tr>
<tr class="r2">
<td>12*</td>
<td>Height</td>
<td>Integer</td>
<td>Size Height</td>
</tr>
<tr class="r1">
<td>13</td>
<td>hscale</td>
<td>Integer</td>
<td>Number of item display Without horizotal scroll</td>
</tr>
<tr class="r2">
<td>14</td>
<td>Min</td>
<td>Double</td>
<td>Force min value</td>
</tr>
<tr class="r1">
<td>15</td>
<td>Max</td>
<td>Double</td>
<td>Force max value</td>
</tr>
<tr class="r2">
<td>last</td>
<td>bg Image</td>
<td>String</td>
<td>Back ground image</td>
</tr>
<tr class="r1">
<td rowspan="3">all</td>
<td>unit</td>
<td>String</td>
<td>format unit=dddddd:sssss change unit with ddddd=double unit conversion and sssss string unit (kb, cm, &#8230;)</td>
</tr>
<tr class="r2">
<td>frm</td>
<td>String</td>
<td>ecimal presentation format (Use java format) sample &#8220;#,##0.00&#8243;</td>
</tr>
<tr class="r1">
<td>ilg</td>
<td>int</td>
<td>number of mark on Ox axis. If ilg=5 cChart display 1 legend for 5 data<br/>WARNING !! if ilg=-5 cChart display 5 legends</td>
</tr>
<tr class="r2">
<td colspan="4">
<p class="alertCode">;name ;ncol;   file     ; prs;prs2; font  ;fsiz; bgcolor ; xPos; yPos;Width;Heigh;nval; Min ; Max<br />
Tt A  ; 1  ; ./m_07.txt ; 0  ; 1  ; Arial ; 10 ; 1473732 ;  30 ;  30 ; 430 ; 250 ; 10 ; ./f_2.gif<br />
Tt B  ; 1  ; ./m_07.txt ; 4  ; 1  ; Arial ;  8 ; 1277632 ; 500 ;  30 ; 130 ; 250<br />
Tt 3  ; 2  ; ./tcht.txt ; 1  ; 0  ; Arial ; 10 ; 1260511 ;  30 ; 300 ; 600 ; 220 ;    ; 0   ; 100
</p>
</td>
</tr>
</tbody>
</table>
<p class="titre2">Data File Format</p>
<table class="tbl1">
<thead>
<tr class="rh">
<th>Colum</th>
<th>Nom</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr class="r1">
<td>1</td>
<td>Titre</td>
<td>String</td>
<td>File Title</td>
</tr>
<tr class="r2">
<td>2</td>
<td>NumCol</td>
<td>Ineger</td>
<td>Number of column in data file</td>
</tr>
<tr class="r1">
<td>3</td>
<td>DataFile</td>
<td>String</td>
<td>Data file URL</td>
</tr>
<tr class="r2">
<td colspan="4">Part 1</td>
</tr>
<tr class="r1">
<td colspan="4">
<p class="alertCode">* Parts 0 : with &#8220;title&#8221;       title chart<br />
title ;	Test &#8220;tChart&#8221;<br />
* Parts 1 : with &#8220;col&#8221;       column informations<br />
col ; Praxis   ; 12632256<br />
col ; Picpus   ; 16711680<br />
col ; Gerico   ; 00065280<br />
col ; Sigagip  ; 00000255<br />
col ; CASH     ; 00065535<br />
col-1 : always &#8220;col&#8221;<br />
col-2 : column title (string)<br />
col-3 : column color (int)<br />
* Parts 2 : with &#8220;label&#8221;       oX and oY label<br />
label ;	x Label ; y Label</p>
</td>
</tr>
<tr class="r2">
<td colspan="4">Part 2</td>
</tr>
<tr class="r1">
<td colspan="4">
<p class="alertCode">* Parts 2 : Data<br />
Janvier ; 10 ; 20 ; 15 ; 30 ; 30<br />
Fevrier ; 15 ; 30 ; 20 ; 30 ; 25</p>
<p>col-1 : line title (string)<br />
col-2 &#8230; col-n : values (int)
</p>
</td>
</tr>
</tbody>
</table>
<p class="titre2">Historique</p>
<table class="tbl1">
<tbody>
<tr class="r1">
<td>5.31</td>
<td>Correct a prb with all negatives values.</td>
</tr>
<tr class="r2">
<td>5.30</td>
<td>add javascript function , mode point simple, and more&#8230;</td>
</tr>
<tr class="r1">
<td>5.20</td>
<td>add tChart4, Rotate Texte,&#8230;</td>
</tr>
<tr class="r2">
<td>5.00</td>
<td>JDK 1.1, mode point, &#8230;</td>
</tr>
<tr class="r1">
<td>4.51</td>
<td>change default delimiter.</td>
</tr>
<tr class="r2">
<td>4.50</td>
<td>add setUnit function, change bar presentation.</td>
</tr>
<tr class="r1">
<td>4.30</td>
<td>Change data file format (texte delimited), can get all data in param.</td>
</tr>
<tr class="r2">
<td>4.20</td>
<td>Add Javascript setup, can change decimal format.</td>
</tr>
<tr class="r1">
<td>4.15</td>
<td>Add a nan function,&#8230;.</td>
</tr>
<tr class="r2">
<td>4.01</td>
<td>Correct a minor bug in set Min max,&#8230;.</td>
</tr>
<tr class="r1">
<td>4.00</td>
<td>Add scalling support, add min-max option,&#8230;.</td>
</tr>
<tr class="r2">
<td>3.52</td>
<td>Add &#8220;title&#8221; option and JavaScript support in tChart3.</td>
</tr>
<tr class="r1">
<td>3.51</td>
<td>Correct a minor bug in refresh data.</td>
</tr>
<tr class="r2">
<td>3.50</td>
<td>Add Horizontal Scroll.</td>
</tr>
<tr class="r1">
<td>3.10</td>
<td>Add Area and SumArea support (type 5 and 6) and hide comment.</td>
</tr>
<tr class="r2">
<td>3.00</td>
<td>Make component cChart, support 2 canvas in tChart.</td>
</tr>
<tr class="r1">
<td>2.00</td>
<td>Add table display. Float support</td>
</tr>
<tr class="r2">
<td>1.00</td>
<td>First version.</td>
</tr>
</tbody>
</table>
<p><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.berthou.com/us/2007/11/01/tchart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exemple tChart</title>
		<link>http://www.berthou.com/us/2007/10/30/exemple-tchart/</link>
		<comments>http://www.berthou.com/us/2007/10/30/exemple-tchart/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 22:21:10 +0000</pubDate>
		<dc:creator>rberthou</dc:creator>
				<category><![CDATA[applet]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.berthou.com/us/?p=7</guid>
		<description><![CDATA[tChart2 sample use This is a small tChart applet sample. You can chose different data file and display mode with right combobox. auto Scale : m_0.txt exemple simple utilisant le calcul automatique du min et max Nan Test : dd.txt use du Nan (Not a number) if no values for cols Bar (bullet): m_0197.txt Display [...]]]></description>
				<content:encoded><![CDATA[<h2 class="titre2">tChart2 sample use</h2>
<p>This is a small  tChart applet sample. You can chose different data file and display mode with right combobox.</p>
<ul>
<li><strong>auto Scale </strong>: <a target="z" href="/jar/txt/m_0.txt">m_0.txt</a> exemple simple utilisant le calcul automatique du min et max</li>
<li><strong>Nan Test </strong>: <a target="z" href="/jar/txt/dd.txt">dd.txt</a> use du Nan (Not a number) if no values for cols</li>
<li><strong>Bar (bullet)</strong>: <a target="z" href="/jar/txt/m_0197.txt">m_0197.txt</a> Display bar with bullet on mouserOver</li>
<li><strong>Manual scale</strong>: <a target="z" href="/jar/txt/m_0197.txt">m_0197.txt</a> le même avec modification des min et max manuellement</li>
<li><strong>Mscale 5 elt</strong>: <a target="z" href="/jar/txt/m_0197.txt">m_0197.txt</a> le même avec modification du nombre d&#8217;élément par page</li>
<li><strong>Test ASP </strong>: <a target="z" href="/jar/txt/vc.asp.txt">vc.asp</a> Exemple de generation du fichier de donn&eacute;es a partir d&#8217;un ASP</li>
<li><strong>Test PERL </strong>: <a target="z" href="/jar/txt/vc.pl.txt">vc.pl</a> Exemple de génération du fichier de donn&eacute;es a partir d&#8217;un script Perl</li>
<li><strong>Mode 8 </strong>: Exemple du mode simple point</li>
</ul>
<p><span id="more-7"></span></p>
<p align="center">
<applet codeBase="/jar" archive="tchart2.jar" code="tchart2.class" width=550 height=380></p>
<param name="Copyright"	value="RBL : rbl@berthou.com">
<param name=rotate   	value="N">
<param name=file		value="./txt/file2.txt">
<param name=font		value="Arial,0,11">
<param name=fontL		value="Arial,1,14">
<param name=fontT		value="Dialog,3,16">
<param name=origine		value="50,60">
<param name=bgcolor 	value="#D0F0FF">
</applet></p>
]]></content:encoded>
			<wfw:commentRss>http://www.berthou.com/us/2007/10/30/exemple-tchart/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>tEurocalc sample</title>
		<link>http://www.berthou.com/us/2007/10/30/teurocalc-sample/</link>
		<comments>http://www.berthou.com/us/2007/10/30/teurocalc-sample/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 12:36:50 +0000</pubDate>
		<dc:creator>rberthou</dc:creator>
				<category><![CDATA[applet]]></category>

		<guid isPermaLink="false">http://www.berthou.com/us/2007/10/30/teurocalc-sample/</guid>
		<description><![CDATA[Index Applet tEurocalc description Exemple 1 Exemple 2 tEurocalc sample use This is a sample of tEurocalc applet&#8217;s use. In this sample I define a background image and set Belgium as default active moneys. Exemple d&#8217;appel javascript setData(&#8220;25&#8243;) : Set value . requestFocus() : Send focus to the applet. getData() : Get value.]]></description>
				<content:encoded><![CDATA[<h2 class="titre2">Index</h2>
<ul>
<li><a href="/us/?p=31">Applet tEurocalc description</a></li>
<li>Exemple 1</li>
<li><a href="/us/?p=33">Exemple 2</a></li>
</ul>
<h2 class="titre2">tEurocalc sample use</h2>
<p>This is a sample of tEurocalc applet&#8217;s use. In this sample I define a background image and set Belgium as default active moneys.</p>
<p><span id="more-32"></span></p>
<p align="center">
<applet  archive="/jar/applet-teurocalc.jar" code="com.berthou.applet.teurocalc.Teurocalc.class" ID="teurocalc" NAME="teurocalc" width=226 height=250 mayscript ></p>
<param name=bgimg		value="/jar/img/europe_250_1.gif">
<param name=trimg		value="/trame.gif">
<param name=flag		value="/euro_flag.gif">
<param name=iactif		value="1">
<param name=font		value="Arial">
<param name=fontsize	value=20>
<param name=fontstyle	value=1>
<param name=font2		value="Verdana">
<param name=fontsize2	value=14>
<param name=fontstyle2	value=1>
<param name=font3		value="Arial">
<param name=fontsize3	value=12>
<param name=wcel		value=5>
<param name=hcel		value=34>
<param name=nbdec		value=3>
<param name=bgcolor 	value=13684944>
<param name=bgcolor2 	value=14737663>
<param name=bgcolor3 	value=400>
<param name=t_col1          value=-255>
<param name=t_col2 	        value=0>
<param name=t_col3 	        value=8421520>
</applet>
</p>
<ul>
<li>Exemple d&#8217;appel javascript
<ul>
<li><a href="javascript:document.teurocalc.setData('25');">setData(&#8220;25&#8243;)</a> : Set value .</li>
<li><a href="javascript:document.teurocalc.requestFocus();">requestFocus()</a> : Send focus to the applet.</li>
<li><a href="javascript:alert(document.teurocalc.getData());">getData()</a> : Get value.</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.berthou.com/us/2007/10/30/teurocalc-sample/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tEurocalc sample 2</title>
		<link>http://www.berthou.com/us/2007/10/30/teurocalc-sample-2/</link>
		<comments>http://www.berthou.com/us/2007/10/30/teurocalc-sample-2/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 12:34:15 +0000</pubDate>
		<dc:creator>rberthou</dc:creator>
				<category><![CDATA[applet]]></category>

		<guid isPermaLink="false">http://www.berthou.com/us/2007/10/30/teurocalc-sample-2/</guid>
		<description><![CDATA[Index Applet description Exemple 1 Exemple 2 tEurocalc sample 2 Another exemple of the use of tEurocalc applet. Valeur 1 : Valeur 2 :]]></description>
				<content:encoded><![CDATA[<h2 class="titre2">Index</h2>
<ul>
<li><a href="/us/?p=31">Applet description</a></li>
<li><a href="/us/?p=32">Exemple 1</a></li>
<li>Exemple 2</li>
</ul>

<h2 class="titre2">tEurocalc sample 2</h2>
Another exemple of the use of tEurocalc applet.

<span id="more-33"></span>
<ul>
<li>Valeur 1 : <input type="text" id="DateField1" name="DateField1"> <input type="button" name="SelDate1" value=" * " onClick="ShowDate(1, this)"></li>
<li>Valeur 2 : <input type="text" id="DateField2" name="DateField2"> <input type="button" name="SelDate2" value=" * " onClick="ShowDate(2, this)"></li>
</ul>

<div id="popCal" style="position:absolute; width:160px; height:170px; z-index:2; left: 290px; top: 2px; visibility: hidden">
          <applet  archive="/jar/applet-teurocalc.jar" code="com.berthou.applet.teurocalc.Teurocalc.class" name="tEu" id="tEu" width="145" height="160"
		mayscript="yes">
		<param name=script	value="SeeDate">
		<param name=trimg	value="/trame.gif">
		<param name=flag	value="/euro_flag.gif">
		<param name=font	value="Arial">
		<param name=fontsize	value=14>
		<param name=fontstyle	value=1>
		<param name=font2	value="Arial">
		<param name=fontsize2	value=12>
		<param name=fontstyle2	value=1>
		<param name=font3	value="Arial">
		<param name=fontsize3	value=12>
		<param name=wcel	value=3>
		<param name=hcel	value=20>
		<param name=nbdec	value=3>
		<param name=bgcolor 	value=13684944>
		<param name=bgcolor2 	value=14737663>
		<param name=bgcolor3 	value=400>
		<param name=t_col2 	value=0>
		<param name=t_col3 	value=8421520>
            </applet>
</div>


<script type="text/javascript">
var ilayer = 0 ;

function popUp(on, elt)
{
   var lLay ;
   var lApp ;
   var thedoc ;
   var str ;

   lLay   = document.getElementById("popCal") ;

   thefield = document.getElementById('DateField' + ilayer) ;

   lApp   = document.getElementById("tEu") ;

   if (elt == null) elt = thefield ;

   if (on) {
        positionCalendar(elt)
 	str =thefield.value ;
	lLay.style.visibility = "visible";

	lApp.setData(str) ;
	lApp.requestFocus() ;
   } else {
	lLay.style.visibility = "hidden";
   }
}
function verif()
{
	if (ilayer==-1) {
	  HideDate();
	  ilayer=0 ;
	}
}

function SeeDate(i)
{
   var thefield ;
   thefield = document.getElementById("DateField" + ilayer) ;

   thefield.value = i;

   HideDate();

  return;
}

function ShowDate(i, elt)
{
  if (ilayer > 0) {
	  HideDate() ;
  }

  ilayer = i ;

  popUp(true, elt);

  return;
}

function HideDate()
{
  popUp(false, null) ;

  return;
}

function positionCalendar(inputObj)
{
   var lLay ;
   lLay = document.getElementById("popCal") ;
   lLay.style.left = inputObj.offsetLeft + 'px';
   lLay.style.top = inputObj.offsetTop + inputObj.offsetHeight + 'px';
}
//-->
</script>
]]></content:encoded>
			<wfw:commentRss>http://www.berthou.com/us/2007/10/30/teurocalc-sample-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tChart2 sample</title>
		<link>http://www.berthou.com/us/2007/10/29/exemple-tchart2/</link>
		<comments>http://www.berthou.com/us/2007/10/29/exemple-tchart2/#comments</comments>
		<pubDate>Mon, 29 Oct 2007 20:05:15 +0000</pubDate>
		<dc:creator>rberthou</dc:creator>
				<category><![CDATA[applet]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[chart]]></category>
		<category><![CDATA[sample]]></category>

		<guid isPermaLink="false">http://www.berthou.com/us/?p=8</guid>
		<description><![CDATA[Another sample This sample reads all data in applet parameter (no external data file) and making different types of presentation. format decimal : frm setLetend : ilg convert unit : unit All data in parameters is a good solution to display a text in other charset (Japanese, chinese, greek,...).]]></description>
				<content:encoded><![CDATA[<h2 class="titre2">Another sample</h2>
This sample reads all data in applet parameter (no external data file) and making different types of presentation.
<ul>
<li>format decimal : frm</li>
<li>setLetend : ilg</li>
<li>convert unit : unit</li>
</ul>
All data in parameters is a good solution to display a text in other charset (Japanese, chinese, greek,...).

<span id="more-8"></span>

<applet  codeBase="/jar" archive="tchart2.jar" code="tchart2.class" width=550 height=380>
    <param name="Copyright"	value="RBL : rbl@berthou.com">
    <param name="file"		value="z">
    <param name="font"		value="Arial">
    <param name="fontsize"	value=10>
    <param name="bgcolor" 	value=14737632>
    <param name="z0"            value="lines               ; 2 ; za ; 1 ; 1 ">
    <param name="z1"            value="with bullets ; 2 ; za ; 1 ; 0 ">
    <param name="z2"            value="without text  ; 2 ; za ; 1 ; 2">
    <param name="z3"            value="without bullet and text  ; 2 ; za ; 1 ; 3">
    <param name="z4"            value="use mouse  ; 2 ; za ; 1 ; 11">
    <param name="z5"            value="use mouse part 2 ; 2 ; za ; 1 ; 13">
    <param name="z6"            value="bar ; 2 ; za ; 0 ; 13">
    <param name="z7"            value="bar with text ; 2 ; za ; 0 ; 11">
    <param name="z8"            value="Airea ; 2 ; za ; 5 ; 13">
    <param name="z9"            value="table ; 2 ; za ; 4 ; 13">

    <param name="za0"           value="title ; all data in parameter ">
    <param name="za1"           value="label ; axe X ; axe Y ">
    <param name="za2"           value="col ; Colone 1 ;	122500 ">
    <param name="za3"           value="col ; Colone 2 ;	22500 ">
    <param name="za4"           value="L -1 ; -141 ; 10 ">
    <param name="za5"           value="L -2 ; -42 ; 25 ">
    <param name="za6"           value="L -3 ; -10 ; 52 ">
    <param name="za7"           value="L  0 ;   4 ; 41 ">
    <param name="za8"           value="L  1 ;  41 ; 32 ">
    <param name="za9"           value="L  2 ;  12 ; 15 ">
    <param name="za10"          value="L  3 ; 100 ; -5 ">
    <param name="za11"          value="L  4 ; 104 ; -35 ">
    <param name="za12"          value="L  5 ; 204 ; -55 ">
    <param name="za13"          value="L  6 ; 160 ; -100">
    <param name="za14"          value="L  7 ; 170 ; -40">
    <param name="za15"          value="L  8 ; 204 ; 10">
    <param name="za16"          value="L  9 ; 254 ; 55">
    <param name="za17"          value="L 10 ;  84 ; 70">
    <param name="za18"          value="L 11 ;  24 ; 120">
</applet>
</center>]]></content:encoded>
			<wfw:commentRss>http://www.berthou.com/us/2007/10/29/exemple-tchart2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JVMine &#8211; Minesweeper</title>
		<link>http://www.berthou.com/us/2007/10/21/jvmine-un-classique/</link>
		<comments>http://www.berthou.com/us/2007/10/21/jvmine-un-classique/#comments</comments>
		<pubDate>Sun, 21 Oct 2007 16:54:28 +0000</pubDate>
		<dc:creator>rberthou</dc:creator>
				<category><![CDATA[applet]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://www.berthou.com/us/?p=12</guid>
		<description><![CDATA[This small applet is a &#34;minesweeper&#34; clone, the goal of the game is very easy, you just have to discover and mark all the mines. To do this you have as option left clic which show you the land (you loose of there is a mine) and right clic which mark a mine (if the [...]]]></description>
				<content:encoded><![CDATA[<p>This small applet is a &quot;minesweeper&quot; clone, the goal of the game is very easy, you just have to discover and mark all the mines. To do this you have as option left clic which show you the land (you loose of there is a mine) and right clic which mark a mine (if the case is not discovered).</p>
<p>For developpers all source code is avaible <a href="/download.php?type=java&file=jvmine.zip">here</a></p>
<p> i have also done a midlet version of this game and I think I am going to propose it to you soon.</p>

<br />
PS : My best score is in expert mode  153 sec.</p>

<span id="more-12"></span>

<div align="center">
<form name="cJVM">
    <input type="button" onclick="newJVM()" value="New Game" />     <select id="jvm_lvl" name="jvm_lvl">
    <option value="1">Debutant</option>
    <option value="1">Moyen</option>
    <option selected="selected" value="3">Expert</option>
    </select>
</form>
<br/>
<applet width="450" height="285" name="JMine" id="JMine" code="com.berthou.applet.game.jvmine.class" archive="/jar/jvmine.jar">
  <param value="/img/j" name="bImg" />
  <param value="12632256" name="bgcolor" />
  <param value="Arial" name="font" />
  <param value="16" name="fontsize" />
</applet>
</p>
</div>

<p>
<ul>
<h3>Download</h3>
<li><a href="/download.php?type=java&file=jvmine.zip">jvmine.zip</a></li>
</ul>
<ul>
<h3>Code html</h3>
<pre langage="HTML">
&lt;applet code=JVMine.class width="450" height="300" /&gt;
	&lt;param name=bImg value="img/j" /&gt;
	&lt;param name=bgcolor value=2222200&gt;
	&lt;param name=nbmine value="10" /&gt;
	&lt;param name=nbcol value="8" /&gt;
	&lt;param name=nbligne value="8" /&gt;
	&lt;param name=font value="Arial" /&gt;
	&lt;param name=fontsize value=14 /&gt;
&lt;/applet>
</pre>
</ul>

</p>

<script language="JavaScript">
function newJVM() {
    var JMine = document.getElementById("JMine") ;
    var sl = document.getElementById("jvm_lvl") ;

    var iM = sl.selectedIndex ;
    if (iM == 0) {
	JMine.m_col    = 8 ;
	JMine.m_ligne  = 8 ;
	JMine.m_mine   = 10 ;
    }
    if (iM == 1) {
	JMine.m_col    = 16 ;
	JMine.m_ligne  = 16 ;
	JMine.m_mine   = 40 ;
    }
    if (iM == 2) {
	JMine.m_col    = 30 ;
	JMine.m_ligne  = 16 ;
	JMine.m_mine   = 99 ;
    }
    JMine.newGame( ) ;
    return ;
   }
</script>
]]></content:encoded>
			<wfw:commentRss>http://www.berthou.com/us/2007/10/21/jvmine-un-classique/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
