-
Recent Posts
Recent Comments
Archives
- May 2010 (1)
- December 2009 (1)
- November 2008 (1)
- August 2008 (1)
- June 2008 (1)
- April 2008 (1)
- October 2007 (3)
- September 2007 (1)
- June 2007 (3)
- May 2007 (1)
- March 2007 (4)
- December 2006 (2)
- November 2006 (1)
- October 2006 (6)
- September 2006 (2)
- August 2006 (4)
- July 2006 (3)
- June 2006 (3)
- May 2006 (9)
- March 2006 (3)
- February 2006 (9)
- January 2006 (2)
Categories
- A Link An Application (3)
- AJAX (10)
- Akismet (1)
- ALAA (3)
- Apache (1)
- How To (6)
- Java (16)
- Java2Script News (35)
- JavaScript (24)
- Opera Mini (1)
- RPC (4)
- Screenshot (8)
- Sharing (16)
- Simple RPC (6)
- SWT (13)
- Uncategorized (5)
- User Experience (4)
- WindowBuilder Pro (3)
- Wordpress (1)
Blogroll
Meta
Category Archives: ALAA
Java2Script’s GTalk
I spent about three days writng an SWT based Google Talk client. And the client used Smack Jabber library, which has simple APIs. As writing the client, I kept the code compatible with Java2Script, which means that I can use … Continue reading
Posted in A Link An Application, AJAX, ALAA, Java2Script News, RPC, SWT, Screenshot, Simple RPC
2 Comments
Reload:A Link An Application
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="$wt.examples.controlexample.ControlExample@http://demo.java2script.org/org.eclipse.swt.examples/bin/",window["ClazzLoader"]!=null)$w$(a);else{var d=document,t="onreadystatechange",x=d.createElement("SCRIPT"),f=function(){var s=this.readyState;if(s==null||s=="loaded"||s=="complete"){$w$(a);}};x.src="http://archive.java2script.org/1.0.0-v20061220/j2slib.z.js";(typeof x[t]=="undefined")?x.onload=f:x[t]=f;d.getElementsByTagName("HEAD")[0].appendChild(x);void(0);} According to your … Continue reading
Posted in A Link An Application, AJAX, ALAA, JavaScript, SWT, Sharing
Leave a comment
A Link An Application
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||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;})(); will link to an SWT control examples. We can also call this as “A Link An Application”(ALAA). OK, let’s see what is going on. Now load SWT control examples from java2script.ognize.com (test site … Continue reading
Posted in A Link An Application, ALAA, Java, Java2Script News, JavaScript, SWT, Sharing
Comments Off