十二 052008
 

 

刚刚下载了。NetBeans IDE 6.5 for JavaFX 1.0 (62.20MB)。准备玩玩这玩意儿。呵呵。

当然,Sun也提供了SDK的下载:JavaFX 1.0 SDK (33.95MB)。另外还有一个小工具:JavaFX 1.0 Production Suite (17.95MB),用于设计师与程序员之间的工作交互用的。目前里面包含了两个东东,JavaFX Graphics Viewer(大眼睛的图标怪吓人的,-_-!)和SVG to JavaFX Graphics Converter(这个图标酷多了^o^)。

Ok,Let’s start.

Continue reading »

十二 052008
 

期待已经的JavaFx终于发布了,呵呵
官方网站:http://www.javafx.com
例子:http://www.javafx.com/samples/
SDK/NetBeans IDE 6.5 for JavaFX 1.0 http://www.javafx.com/downloads/windows.jsp
希望JavaFx也能在RIA领域里闯出一番天地!

Jre需要1.6.0_11版,看了一下JavaFx的代码,我怎么感觉是在写JavaScript+ActionScript2+ActionScript3。一点 都没感觉有Java的影子。
不过说实话,JavaFx还有很多路要走。与Flex/Flash/ActionScript、SilverLight还有一定的差距,但是也看到了希望。万事开头难。

但是JavaFx也有很多优点,可以与Java Web Start结合,也就类似于AIR+Flex的概念(个人理解)。还有就是对文件格式的广泛支持,ex.视频文件支持3gp,avi,mp4,mov,mpg,wmv等等。不过JavaFx的启动速度有那么点慢,还会有点卡,我的电脑配置应该还算过得去(E2140+2G RAM).还有一位同行对JavaFx不只是失望,用了好几个unbelievable。JavaFX released = what a disappointment

javafx website

上截图:(请点开查看)

Continue reading »

262008
 

哪位同学有空再加一个SilverLight的对比吧:)

让人很无语的WorkPress,用表格把这个页面都撑开了。用截图吧。。。

请单击打开新页面放大查看

All tests were on the same system (2Ghz AMD Athlon XP2400+ Windows XP 1.5Gb RAM)
All times are in milliseconds
All tests were repeated multiple times on different days (after reboots) and on different systems to ensure that the results were consistent, but variation is inevitable. Try the tests on your own system.. and please report problems..
Flash tests (FP7,8,and 8.5) were loaded in IE6
Flash Players used: 7.0.19.0,  8.0.5.0,  8.5.0.133,  9.0.18.60
* indicates first run / second run of the same function
Run the Java version (prepared by Bill Riemers) of the test here (note.. it takes roughly 70 seconds for the applet to load the first time on my system. Results shown above are from reloading the page) The detailed result from running his benchmark on my system is here (yep.. I rounded some numbers.. we’re comparing 4649ms vs 6ms here)
Tests run on 11/24/06 used updated Flash SWF from Ted Patrick and used the released Flash Player 9. Some of the other tests (JS and FP7) were run again just to check that the results were still in line since they were run in the Fall of 2005. I didn’t rerun all of the JavaScript tests for IE6, and didn’t change the results because they were only off by a few miliseconds on most of them. I added the results for running JS in Opera.. and reran the Firefox tests since a new version was released.
Note that I did not run these test in the “stand alone” Flash Player. They’re run in the browser because that’s where almost all of my Flash code is executed. However, I’ve found in the past that code generally executes faster in the stand alone player.
1. JavaScript Speed test #3
2. JavaScript MD5 implementation
2. Flash implementation other JS tests were based (sometimes loosely) on some of these
Download sources:
HTML,
FLAs/SWFs (ActionScript 2)
MXML (original) * note that my MXML is quite crappy because I hadn’t even started learning ActionScript3 when I put this together..
MXML by Brian Deitte (strict typing made huge improvements over my original code)
MXML by Ted Patrick (note that all tests are run sequentially without unloading the SWF.. results vary greatly when I test multiple times)
Java by Bill Riemers

Copy From :http://oddhammer.com/actionscriptperformance/set4/