<?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>Java2Script Pacemaker &#187; Sharing</title>
	<atom:link href="http://blog.java2script.org/category/sharing/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.java2script.org</link>
	<description>Reusing existed Java codes into JavaScripts</description>
	<lastBuildDate>Tue, 01 Jun 2010 06:51:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Eclipse RAP 1.0 Comes</title>
		<link>http://blog.java2script.org/2007/10/15/eclipse-rap-10-comes/</link>
		<comments>http://blog.java2script.org/2007/10/15/eclipse-rap-10-comes/#comments</comments>
		<pubDate>Tue, 16 Oct 2007 00:27:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[SWT]]></category>
		<category><![CDATA[Sharing]]></category>

		<guid isPermaLink="false">http://java2script.org/blog/2007/10/15/eclipse-rap-10-comes/</guid>
		<description><![CDATA[Eclipse RAP team has just released its 1.0. The RAP project enables developers to build rich, Ajax-enabled Web applications by using the Eclipse development model, plug-ins with the well known Eclipse workbench extenstion points, JFace, and a widget toolkit with &#8230; <a href="http://blog.java2script.org/2007/10/15/eclipse-rap-10-comes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.eclipse.org/rap/">Eclipse RAP</a> team has just released its 1.0.</p>
<p>The RAP project enables developers to build rich, Ajax-enabled Web applications by using the Eclipse development model, plug-ins with the well known Eclipse workbench extenstion points, JFace, and a widget toolkit with SWT API (using  <a href="http://qooxdoo.org">qooxdoo</a> for the client-side presentation). The project has graduated from incubation and released its 1.0 release.</p>
<p>In fact, Eclipse RAP and Java2Script have a lot in common. Both are based on SWT API and have goals to provide ways for developers to share the same base of code for products that deploy to the web and the desktop. Here is <a href="http://www.eclipse.org/rap/about.php">overview of Eclipse RAP</a>. And you can also read <a href="http://j2s.sourceforge.net/overview.html">Java2Script&#8217;s overview</a> for comparisons.</p>
<p>And you can also check out <a href="http://www.eclipse.org/rap/demos.php">Eclipse RAP demo</a> to get more details. It&#8217;s interesting to see that RAP and Java2Script have 2 very similar demos: <a href="http://rap.eclipse.org/controlsdemo/controls">RAP&#8217;s RWT Control Demo</a> and <a href="http://demo.java2script.org/controls/">Java2Script&#8217;s SWT Control Examples</a>.</p>
<p>More discussion may be found at <a href="http://ajaxian.com/archives/ajax-meet-osgi-expanding-universes-collide-with-eclipse-rap-10">ajaxian.com</a>.</p>
<p>Related link: InfoWorld <a href="http://www.infoworld.com/article/07/10/14/eclipse-rap_1.html">Eclipse offers AJAX server</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.java2script.org/2007/10/15/eclipse-rap-10-comes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Java2Script Gtalk on Opera Mini 4</title>
		<link>http://blog.java2script.org/2007/10/13/java2script-gtalk-on-opera-mini-4/</link>
		<comments>http://blog.java2script.org/2007/10/13/java2script-gtalk-on-opera-mini-4/#comments</comments>
		<pubDate>Sat, 13 Oct 2007 15:01:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Opera Mini]]></category>
		<category><![CDATA[Screenshot]]></category>
		<category><![CDATA[Sharing]]></category>

		<guid isPermaLink="false">http://java2script.org/blog/2007/10/13/java2script-gtalk-on-opera-mini-4/</guid>
		<description><![CDATA[It&#8217;s amazing to see that Java2Script&#8217;s Google Talk get run on Opera Mini 4 inside a mobile phone. Here is Opera Mini 4&#8242;s simulator for you to test its CSS/JavaScript/AJAX compatibilities: http://www.operamini.com/beta/simulator/ Here are screenshots: Zoom in to get a &#8230; <a href="http://blog.java2script.org/2007/10/13/java2script-gtalk-on-opera-mini-4/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s amazing to see that <a href="http://demo.java2script.org/gtalk/">Java2Script&#8217;s Google Talk</a> get run on Opera Mini 4 inside a mobile phone.</p>
<p>Here is Opera Mini 4&#8242;s simulator for you to test its CSS/JavaScript/AJAX compatibilities:<br />
<a href="http://www.operamini.com/beta/simulator/">http://www.operamini.com/beta/simulator/</a></p>
<p>Here are screenshots:<br />
<img src='http://blog.java2script.org/files/2007/10/opera-mini-j2s-gtalk-small.png' alt='opera-mini-j2s-gtalk-small.png' /></p>
<p>Zoom in to get a clear look:<br />
<img src='http://blog.java2script.org/files/2007/10/opera-mini-j2s-gtalk-zoom-in.png' alt='opera-mini-j2s-gtalk-zoom-in.png' /></p>
<p>Login and connect:<br />
<img src='http://blog.java2script.org/files/2007/10/opera-mini-j2s-gtalk-connecting1.png' alt='opera-mini-j2s-gtalk-connecting1.png' /></p>
<p>Now we are in:<br />
<img src='http://blog.java2script.org/files/2007/10/opera-mini-j2s-gtalk-logined-small.png' alt='opera-mini-j2s-gtalk-logined-small.png' /></p>
<p>Zoom in to get a clear look on friend list:<br />
<img src='http://blog.java2script.org/files/2007/10/opera-mini-j2s-gtalk-friend-list.png' alt='opera-mini-j2s-gtalk-friend-list.png' /></p>
<p>But Java2Script Gtalk does not get run as totally correct. It fails to maintain normal connection back to Gtalk proxy server. So after a few seconds, the proxy server closes the connection. Maybe Java2Script Gtalk may fix this problem later. And also I think Opera Mini team may improve its AJAX supports in the near future so nothing need to be modified.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.java2script.org/2007/10/13/java2script-gtalk-on-opera-mini-4/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Reload:A Link An Application</title>
		<link>http://blog.java2script.org/2006/12/20/reloada-link-an-application/</link>
		<comments>http://blog.java2script.org/2006/12/20/reloada-link-an-application/#comments</comments>
		<pubDate>Wed, 20 Dec 2006 15:20:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[A Link An Application]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[ALAA]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[SWT]]></category>
		<category><![CDATA[Sharing]]></category>

		<guid isPermaLink="false">http://j2s.sourceforge.net/blog/2006/12/20/reloada-link-an-application/</guid>
		<description><![CDATA[Copy following as a link and paste in your browser address bar (A new tab or a new window, or other existed tab page[Maybe a Google search result page, not this blog page]): javascript:if(a=&#34;$wt.examples.controlexample.ControlExample@http://demo.java2script.org/org.eclipse.swt.examples/bin/&#34;,window[&#34;ClazzLoader&#34;]!=null)$w$(a);else{var d=document,t=&#34;onreadystatechange&#34;,x=d.createElement(&#34;SCRIPT&#34;),f=function(){var s=this.readyState;if(s==null&#124;&#124;s==&#34;loaded&#34;&#124;&#124;s==&#34;complete&#34;){$w$(a);}};x.src=&#34;http://archive.java2script.org/1.0.0-v20061220/j2slib.z.js&#34;;(typeof x[t]==&#34;undefined&#34;)?x.onload=f:x[t]=f;d.getElementsByTagName(&#34;HEAD&#34;)[0].appendChild(x);void(0);} According to your &#8230; <a href="http://blog.java2script.org/2006/12/20/reloada-link-an-application/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Copy following as a link and paste in your browser address bar (A new tab or a new window, or other existed tab page[Maybe a Google search result page, not this blog page]):</p>
<blockquote class="code"><p><code>javascript:<span class="keyword">if</span>(a=<span class="string">&quot;$wt.examples.controlexample.ControlExample@http://demo.java2script.org/org.eclipse.swt.examples/bin/&quot;</span>,window[<span class="string">&quot;ClazzLoader&quot;</span>]!=<span class="keyword">null</span>)$w$(a);<span class="keyword">else</span><span class="scope">{</span><span class="keyword">var</span> d=document,t=<span class="string">&quot;onreadystatechange&quot;</span>,x=d.createElement(<span class="string">&quot;SCRIPT&quot;</span>),f=<span class="keyword">function</span>()<span class="scope">{</span><span class="keyword">var</span> s=<span class="keyword">this</span>.readyState;<span class="keyword">if</span>(s==<span class="keyword">null</span>||s==<span class="string">&quot;loaded&quot;</span>||s==<span class="string">&quot;complete&quot;</span>)<span class="scope">{</span>$w$(a);<span class="scope">}</span><span class="scope">}</span>;x.src=<span class="string">&quot;http://archive.java2script.org/1.0.0-v20061220/j2slib.z.js&quot;</span>;(typeof x[t]==<span class="string">&quot;undefined&quot;</span>)?x.onload=f:x[t]=f;d.getElementsByTagName(<span class="string">&quot;HEAD&quot;</span>)[0].appendChild(x);<span class="keyword">void</span>(0);<span class="scope">}</span></code></p></blockquote>
<p>According to your connection speed, it may take a few seconds before some Java2Script things come up. Enjoy it.</p>
<p>Replace the link&#8217;s &#8220;$wt.examples.controlexample.ControlExample @ http://demo.java2script.org/org.eclipse.swt.examples/bin/&#8221; with your Java2Script application URL. It&#8217;s class&#8217;s full name + @ + the class&#8217;s *.js bin root folder. If the URL is not very long (total javascript url string length &lt; 500), it will be OK for modern browsers to load your application.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.java2script.org/2006/12/20/reloada-link-an-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Screenshot of Java2Script Web Notepad</title>
		<link>http://blog.java2script.org/2006/12/17/screenshot-of-java2script-web-notepad/</link>
		<comments>http://blog.java2script.org/2006/12/17/screenshot-of-java2script-web-notepad/#comments</comments>
		<pubDate>Sun, 17 Dec 2006 16:20:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[RPC]]></category>
		<category><![CDATA[SWT]]></category>
		<category><![CDATA[Screenshot]]></category>
		<category><![CDATA[Sharing]]></category>
		<category><![CDATA[Simple RPC]]></category>

		<guid isPermaLink="false">http://j2s.sourceforge.net/blog/2006/12/17/screenshot-of-java2script-web-notepad/</guid>
		<description><![CDATA[I spent some time to enhance a web notepad with auto-save feature. Here is screenshot: As a matter of security fact, it is not ready for public tests, so now I am not publishing the . Maybe later I will &#8230; <a href="http://blog.java2script.org/2006/12/17/screenshot-of-java2script-web-notepad/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I spent some time to enhance a web notepad with auto-save feature. Here is screenshot:</p>
<p><a title="Click to get a full view" href="http://j2s.sourceforge.net/screenshots/j2s-web-notepad.png"><img width="409" height="394" title="Java2Script Web Notepad" alt="Java2Script Web Notepad" src="http://j2s.sourceforge.net/screenshots/j2s-web-notepad-medium.png" /></a></p>
<p>As a matter of security fact, it is not ready for public tests, so now I am not publishing the . Maybe later I will add more strict rules to the notepad so that no malicious modifications harm the system. Or maybe I will not take such a risk.</p>
<p>Actually, more desktop applications can be converted into rich internet applications. I even consider converting a <strong>terminal console</strong> into Java2Script web application is possible. But maybe I won&#8217;t do so.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.java2script.org/2006/12/17/screenshot-of-java2script-web-notepad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ColorDialog and FontDialog</title>
		<link>http://blog.java2script.org/2006/10/18/colordialog-and-fontdialog/</link>
		<comments>http://blog.java2script.org/2006/10/18/colordialog-and-fontdialog/#comments</comments>
		<pubDate>Wed, 18 Oct 2006 12:14:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java2Script News]]></category>
		<category><![CDATA[Screenshot]]></category>
		<category><![CDATA[Sharing]]></category>

		<guid isPermaLink="false">http://j2s.sourceforge.net/blog/2006/10/18/colordialog-and-fontdialog/</guid>
		<description><![CDATA[Now comes JavaScript version of SWT ColorDialog and FontDialog:]]></description>
			<content:encoded><![CDATA[<p>Now comes JavaScript version of SWT ColorDialog and FontDialog:</p>
<p><img alt="J2S SWT Color Dialog" title="J2S SWT Color Dialog" src="/screenshots/j2s-swt/j2s-swt-color-dialog.png" /></p>
<p><img alt="J2S SWT Font Dialog" title="J2S SWT Font Dialog" src="/screenshots/j2s-swt/j2s-swt-font-dialog.png" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.java2script.org/2006/10/18/colordialog-and-fontdialog/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Java-JavaScript Compiler Discussion</title>
		<link>http://blog.java2script.org/2006/10/04/java-javascript-compiler-discussion/</link>
		<comments>http://blog.java2script.org/2006/10/04/java-javascript-compiler-discussion/#comments</comments>
		<pubDate>Wed, 04 Oct 2006 13:04:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Sharing]]></category>

		<guid isPermaLink="false">http://j2s.sourceforge.net/blog/2006/10/04/java-javascript-compiler-discussion/</guid>
		<description><![CDATA[Ash mentioned Java2Script in the thread of &#8220;Java-JavaScript Compiler&#8221; in GWT&#8217;s group forum. And I joined in the discussion. I was not intended to post another GWT v.s. JavaScript post there (But it seems it was a v.s. thing actually). &#8230; <a href="http://blog.java2script.org/2006/10/04/java-javascript-compiler-discussion/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Ash mentioned Java2Script in the thread of &#8220;<a href="http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/9b9cc255ab159586">Java-JavaScript Compiler</a>&#8221; in GWT&#8217;s group forum. And I joined in the discussion. I was not intended to post another GWT v.s. JavaScript post there (But it seems it was a v.s. thing actually). I just wanted to share things, correct my understanding and learn new things.</p>
<p>In those discussion, Bruce from Google told us that GWT&#8217;s motivation is &#8220;to be as small and as efficient as possible&#8221; and its two separate goals are:<br />
(1) Create highly optimized JS output<br />
(2) Optionally, publish selected parts of your code with a JS-compatible API<br />
I thought that wais a very clever design. And I admired GWT team for its &#8220;excellent 100k ~ 200k final *.js files with very good performance&#8221;.<br />
OK, if you are interested in Java to JavaScript technology, just go to GWT&#8217;s forum and ask GWT team for more details.</p>
<p>By the way, it seems that Java2Script website provides no detailed documents about Java to JavaScript compiler technology. I posted some details there in the discussion. Just check it out there. Or you can check sources from SVN for more details.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.java2script.org/2006/10/04/java-javascript-compiler-discussion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LZ77 JavaScript Compressor Reloaded</title>
		<link>http://blog.java2script.org/2006/09/03/lz77-javascript-compressor-reloaded/</link>
		<comments>http://blog.java2script.org/2006/09/03/lz77-javascript-compressor-reloaded/#comments</comments>
		<pubDate>Sun, 03 Sep 2006 17:26:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Sharing]]></category>

		<guid isPermaLink="false">http://j2s.sourceforge.net/blog/2006/09/03/lz77-javascript-compressor-reloaded/</guid>
		<description><![CDATA[Updated: June 4, 2007, LZ77 JavaScript Compressor http://demo.java2script.org/lz77js/ is rebuilt using Java2Script Simple RPC technology. In early of this year, I had a post &#8220;LZ77-JS-Compressor: Another way of compressing JavaScript&#8220;. It seemed that lots of people were seeking pure LZ77 &#8230; <a href="http://blog.java2script.org/2006/09/03/lz77-javascript-compressor-reloaded/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><em><span style="font-style: italic">Updated: June 4, 2007, </span><a href="http://demo.java2script.org/lz77js/" style="font-style: italic">LZ77 JavaScript Compressor http://demo.java2script.org/lz77js/</a> is rebuilt using Java2Script Simple RPC technology.</em><span style="font-style: italic"> </span></p>
<p>In early of this year, I had a post &#8220;<a href="http://j2s.sourceforge.net/blog/2006/02/04/lz77-js-compressor-another-way-of-compressing-javascript/">LZ77-JS-Compressor: Another way of compressing JavaScript</a>&#8220;. It seemed that lots of people were seeking pure LZ77 JavaScript Compressor, and some of them clicked the above post. And the above link is on the top 2 position for key world &#8220;<a href="http://www.google.com/search?q=js+compressor">js compressor</a>&#8221; in Google.</p>
<p>As mentioned in the above post, pure JavaScript decoder&#8217;s performance was very poor for large *.js file (&gt;200k)! So I stopped focusing on further development of LZ77 JS compressor after the post. So no technical details were found there but pure LZ77 JS compressor&#8217;s poor performance was told there.</p>
<p>But as top 2 position link for key world &#8220;<a href="http://www.google.com/search?q=js+compressor">js compressor</a>&#8221; in Google, I  decide not to disappoint visitors with no discrete implementations any more. Here now, I give an implementation (Thanks for J2S 1.0.0 M3, so such a solution does not require much time and pains):</p>
<p>&#8220;<a href="http://demo.java2script.org/lz77js/">LZ77 JavaScript Compressor</a>&#8220;: This is a J2S/SWT application, sending the raw JavaScript sources back to server to do LZ77 compressing (Java servlet). (Mentioned: the server s eems being unstable with low bandwidth.)</p>
<p><img src="/screenshots/j2s-swt-lz77-js-medium.png" alt="J2S SWT LZ77 JavaScript Compressor" title="J2S SWT LZ77 JavaScript Compressor" /></p>
<p>If  you uncheck &#8220;RegExp trimming before LZ77&#8243; option in the above application, you can compress any plain text (HTML/CSS/SVG/&#8230;) besides JavaScript sources.</p>
<p>This LZ77 implementation was considered as buggy. I used in <a href="http://j2s.sourceforge.net/j2sclazz/">J2S Clazz</a>.</p>
<p>BTW: Developing the above J2S/SWT application (including wrapping the old LZ77 utilities into a servlet) took me about 2 hours.</p>
<p>For JS compressor, I recommend you to use <a href="http://dean.edwards.name/packer/">Dean&#8217;s Packer</a>.</p>
<p>PS: &#8220;<a href="http://demo.java2script.org/lz77js/">LZ77 JavaScript Compressor</a>&#8221; is now using LZ77-JS-Comopresser compressed JavaScript: <a href="http://bl.ognize.com/j2s-ajax-rss-reader/net.sf.j2s.lib_1.0.0.v320/j2slib/j2slib.lz77.z.js">http://bl.ognize.com/j2s-ajax-rss-reader/net.sf.j2s.lib_1.0.0.v320/j2slib/j2slib.lz77.z.js </a> (30k) rather than earlier <a href="http://bl.ognize.com/j2s-ajax-rss-reader/net.sf.j2s.lib_1.0.0.v320/j2slib/j2slib.z.js">http://bl.ognize.com/j2s-ajax-rss-reader/net.sf.j2s.lib_1.0.0.v320/j2slib/j2slib.z.js</a> (55k)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.java2script.org/2006/09/03/lz77-javascript-compressor-reloaded/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Java2Script 1.0.0 Roadmap</title>
		<link>http://blog.java2script.org/2006/08/18/33/</link>
		<comments>http://blog.java2script.org/2006/08/18/33/#comments</comments>
		<pubDate>Fri, 18 Aug 2006 17:47:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Java2Script News]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Sharing]]></category>

		<guid isPermaLink="false">http://j2s.sourceforge.net/blog/2006/08/18/33/</guid>
		<description><![CDATA[Road to Java2Script 1.0.0 release: 1.0.0 M3 will be released at Aug 20, 2006. In this release, main features include Full support of Eclipse 3.2.0 beside Eclipse 3.1.* No more need of extra JDT core jar enhancement Dynamic JavaScript loading &#8230; <a href="http://blog.java2script.org/2006/08/18/33/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Road to Java2Script 1.0.0 release:</p>
<ul>
<li>1.0.0 M3 will be released at Aug 20, 2006.<br />
In this release, main features include</p>
<ul>
<li>Full support of Eclipse 3.2.0 beside Eclipse 3.1.*</li>
<li>No more need of extra JDT core jar enhancement</li>
<li>Dynamic JavaScript loading</li>
<li>Early Java reflection implementation</li>
<li>JUnit support</li>
<li>CTabFolder, Table, Combo, Spinner, ProgressBar, Scale improved</li>
<li>Early key navigation support</li>
<li>Lazy layout improved</li>
<li>Support more look and feels</li>
</ul>
</li>
<li>1.0.0 M4 will be released at about Oct 9, 2006. In this release, all features should be locked.<br />
Coming features include</p>
<ul>
<li>CoolBar, ToolBar, Menu, ColorDialog, FontDialog, more custom widgets improvement</li>
<li>Look and feel manager</li>
<li>Key navigation system</li>
<li>DND system improvement</li>
<li>Windows manager</li>
<li>Extension points for RPC calls (only interfaces with a very simple reference implementation)</li>
<li>Bug-fix of M3</li>
</ul>
</li>
<li>There is no 1.0.0 M5 but will be 1.0.0 RC release at Nov 11, 2006<br />
Works to be done include</p>
<ul>
<li>Dynamic JavaScript loading performance tunning</li>
<li>Packing system tunning</li>
<li>J2SClazz core packing and zipping</li>
<li>J2S SWT performance tunning</li>
<li>J2S SWT packing tunning</li>
<li>Benchmark system for Java2Script</li>
<li>More integration tunning</li>
</ul>
</li>
<li>The final release of 1.0.0 will be released in later December, 2006, about one year after Java2Script is open sourced. All thing may depend on feedback of 1.0.0 RC.<br />
Works to be done include</p>
<ul>
<li>More tutorials</li>
<li>White paper</li>
<li>Demo projects using Java2Script</li>
<li>Documents</li>
<li>Lots of XXX v.s. J2S to tell developers about advantages and disadvantages of J2S.</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.java2script.org/2006/08/18/33/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SWT Snippets (Reloaded)</title>
		<link>http://blog.java2script.org/2006/08/18/swt-snippets-reload/</link>
		<comments>http://blog.java2script.org/2006/08/18/swt-snippets-reload/#comments</comments>
		<pubDate>Fri, 18 Aug 2006 16:16:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java2Script News]]></category>
		<category><![CDATA[SWT]]></category>
		<category><![CDATA[Sharing]]></category>

		<guid isPermaLink="false">http://j2s.sourceforge.net/blog/2006/08/18/swt-snippets-reload/</guid>
		<description><![CDATA[SWT Snippets (Reloaded) Examples are copied from http://www.eclipse.org/swt/snippets/. Snippets are minimal stand-alone programs that demonstrate specific techniques or functionality. Often a small example is the easiest way to understand how to use a particular feature. Not all the snippets is &#8230; <a href="http://blog.java2script.org/2006/08/18/swt-snippets-reload/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<ul>
<li>
<h4><a href="http://j2s.sourceforge.net/swt/snippets/">SWT Snippets (Reloaded)</a></h4>
<p><strong>Examples are copied from <a href="http://www.eclipse.org/swt/snippets/">http://www.eclipse.org/swt/snippets/</a></strong>. Snippets are minimal stand-alone programs that demonstrate specific techniques or functionality. Often a small example is the easiest way to understand how to use a particular feature.</li>
</ul>
<p><strong>Not all the snippets is supported!</strong><br />
Enjoy finding out which J2S SWT Snippets work. J2S SWT is still under developing.</p>
<p><strong>Why is called &#8220;Reloaded&#8221;?</strong><br />
In the early stage of Java2Script project, SWT Snippets was a showcase page. And it was also a test case page. So this page is just reloaded form former page. The first time I setuped Snippets page, it cost me some time. But as Java2Script project got much improvement. Now, it&#8217;s much easier for me to setup the whole SWT Snippets page. And with more and more improvement, I am sure that it will be more convenient to integrate Java2Script application with existed HTML applications(pages).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.java2script.org/2006/08/18/swt-snippets-reload/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Link An Application</title>
		<link>http://blog.java2script.org/2006/07/11/a-link-an-application/</link>
		<comments>http://blog.java2script.org/2006/07/11/a-link-an-application/#comments</comments>
		<pubDate>Tue, 11 Jul 2006 12:12:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[A Link An Application]]></category>
		<category><![CDATA[ALAA]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Java2Script News]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[SWT]]></category>
		<category><![CDATA[Sharing]]></category>

		<guid isPermaLink="false">http://j2s.sourceforge.net/blog/2006/07/11/a-link-an-application/</guid>
		<description><![CDATA[For example: javascript:(function(){var d=document,b=%22http://java2script.ognize.com/1.0.0-m3/%22,t=%22onreadystatechange%22,x=d.createElement(%22SCRIPT%22),f=function(){var s=this.readyState;if(s==null&#124;&#124;s==%22loaded%22&#124;&#124;s==%22complete%22){var c=%22org.eclipse.swt.examples.controlexample.ControlExample%22;$CL1(b);$CL2(b+%22../control-examples/%22);$CL3(c,function(){eval(c+%22.main([]);%22);});}};x.src=b+%22j2slib.js%22;(typeof x[t]==%22undefined%22)?x.onload=f:x[t]=f;d.getElementsByTagName(%22HEAD%22)[0].appendChild(x);return;})(); will link to an SWT control examples. We can also call this as &#8220;A Link An Application&#8221;(ALAA). OK, let&#8217;s see what is going on. Now load SWT control examples from java2script.ognize.com (test site &#8230; <a href="http://blog.java2script.org/2006/07/11/a-link-an-application/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For example:</p>
<blockquote><p>javascript:(function(){var d=document,b=%22http://java2script.ognize.com/1.0.0-m3/%22,t=%22onreadystatechange%22,x=d.createElement(%22SCRIPT%22),f=function(){var s=this.readyState;if(s==null||s==%22loaded%22||s==%22complete%22){var c=%22org.eclipse.swt.examples.controlexample.ControlExample%22;$CL1(b);$CL2(b+%22../control-examples/%22);$CL3(c,function(){eval(c+%22.main([]);%22);});}};x.src=b+%22j2slib.js%22;(typeof x[t]==%22undefined%22)?x.onload=f:x[t]=f;d.getElementsByTagName(%22HEAD%22)[0].appendChild(x);return;})();</p></blockquote>
<p>will link to an SWT control examples. We can also call this as <strong>&#8220;A Link An Application&#8221;(ALAA)</strong>.</p>
<p>OK, let&#8217;s see what is going on. Now load <strong><a title="Java2Script SWT control examples" href="javascript:(function(){var%20d=document,b=">SWT control examples</a></strong> from <em><a title="Java2Script at ognize" href="http://java2script.ognize.com">java2script.ognize.com</a></em> (<em>test site only, may be slow and unstable, enjoy it</em>) into this page.</p>
<p>Or, you can copy the link of <strong><a title="Java2Script SWT control examples" href="javascript:(function(){var%20d=document,b=">SWT control examples</a></strong>, and then visit a new HTML page, for example, visit <a href="http://www.google.com">Google</a>, and then paste the link to the location, and then go. You should find the SWT control examples will be loaded inside Google&#8217;s page. All you dealing with is just a link! But you alreay get an application everywhere inside your browser.<br />
Users can also bookmark the &#8220;javascript:&#8230;&#8221; links. To bookmark a &#8220;javascript:&#8230;&#8221; link, you should first bookmark a normal HTML page, and then copy the &#8220;javascript:&#8230;&#8221; link location and paste as URL location in the bookmark&#8217;s properties dialog. Some browsers (e.g. Opera) will let you change URL when you&#8217;re bookmarking without a later modification of URL.<br />
And whenever users want to load the application, users can click the bookmark, which will bring up the application in users&#8217; currently visiting HTML page. For example, if you have already bookmarked the above SWT control examples application as &#8220;javascript:&#8230;&#8221; link. And if you are visiting visit <a href="http://www.w3.org">W3C</a>, and you can click the bookmark, and the application will be loaded without leaving the W3C pages.</p>
<p>That is the mean of &#8220;A link An Application&#8221;. A &#8220;javascript:&#8230;&#8221; link is an application, which may be hosted inside any given HTML pages. And the &#8220;javascript:&#8230;&#8221; link would be a very useful and complicated application besides those simple &#8220;javascript:history.go (-1);&#8221; or &#8220;javascript:alert(document.lastModified);&#8221;. So there are chances that you can deliver your useful and complicated web applications via generated &#8220;javascript:&#8230;&#8221; links into any other HTML paes or other web applications.</p>
<p>You can also considered the &#8220;javascript:&#8230;&#8221; link as plugin extensions to the browsers that needs no installations (Only bookmarking). There are plugins for Firefox or IE. Most of those plugins need installations and may also need manually updates or uninstallations. But the &#8220;javascript:&#8230;&#8221; links is free of those deployment instructions. All the application is just a &#8220;javascript:&#8230;&#8221; link. That is enough simple.</p>
<p>A link is an application. An application is a link.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.java2script.org/2006/07/11/a-link-an-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
