Category Archives: Sharing

Eclipse RAP 1.0 Comes

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 … Continue reading

Posted in AJAX, Java, SWT, Sharing | 2 Comments

Java2Script Gtalk on Opera Mini 4

It’s amazing to see that Java2Script’s Google Talk get run on Opera Mini 4 inside a mobile phone. Here is Opera Mini 4′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 … Continue reading

Posted in JavaScript, Opera Mini, Screenshot, Sharing | 1 Comment

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

Screenshot of Java2Script Web Notepad

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 … Continue reading

Posted in AJAX, Java, RPC, SWT, Screenshot, Sharing, Simple RPC | Leave a comment

ColorDialog and FontDialog

Now comes JavaScript version of SWT ColorDialog and FontDialog:

Posted in Java2Script News, Screenshot, Sharing | 2 Comments

Java-JavaScript Compiler Discussion

Ash mentioned Java2Script in the thread of “Java-JavaScript Compiler” in GWT’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). … Continue reading

Posted in Java, JavaScript, Sharing | Leave a comment

LZ77 JavaScript Compressor Reloaded

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 “LZ77-JS-Compressor: Another way of compressing JavaScript“. It seemed that lots of people were seeking pure LZ77 … Continue reading

Posted in AJAX, JavaScript, Sharing | 3 Comments

Java2Script 1.0.0 Roadmap

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 … Continue reading

Posted in Java, Java2Script News, JavaScript, Sharing | Leave a comment

SWT Snippets (Reloaded)

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 … Continue reading

Posted in Java2Script News, 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