- 论坛徽章:
- 0
|
发现这个很cool
将java的SWT API 写入javascript中
http://j2s.sourceforge.net/demo/
Josson Smith 写的
在 饮水思源 的留意;有兴趣一起跟他研究.
*********************************************************
发信人: enykee(网络X网络=网络X网络), 信区: Eclipse
标 题: A thought on JavaScript version of SWT
发信站: 饮水思源 (2005年12月24日00:11:46 星期六), 站内信件
Hi,
Recently, I were working on an Java2Script open source project. And I
paid some effort in trying to implement parts of org.eclipse.swt.* API.
I found it interesting.
I know that I can't implement SWT API 100% in JavaScript. But if there
are about 90% of SWT API implemented in JavaScript, it would be very
cool that generated JavaScript codes from SWT Java codes (e.g.
VE-designed codes) is running in browser, even though it would be
somewhat slow when runnning. I think the slowness can be optimized when
things are proved to be feasible.
Anybody have interest in this project? Or any suggestion?
josson smith
Dec 23, 2005
Appendix:
Latest news from http://j2s.sourceforge.net
===========================================
Dec 23, 2005: First release(marked as 0.1.0) of Java2Script(J2S) for
Eclipse 3.1.1 has been released. It is an experiencing version for
advanced developers.
Major features:
1. JavaScript codes can be generated from Java codes
2. Java Object-Oriented inheritance simulated by JavaScript's prototyped
inheritance
3. Common classes of java.util.* supported
4. Lots of API classes in org.eclipse.swt.* supported
5. Mozilla/Firefox, IE, Opera compatiable
For demo, please visit (should wait for some seconds):
http://j2s.sourceforge.net/demo/
More information, please visit the newly setup website:
http://j2s.sourceforge.net/
--
※ 来源:·饮水思源 bbs.sjtu.edu.cn·[FROM: 58.33.163.205] |
|