JavaFX 脚本有什么用?
我对 JavaFX 脚本这个术语很陌生,只是想了解有关 JavaFX 脚本使用的更多信息。
感谢您。
I am new to this term JavaFX Script, just want to know more on the use of JavaFX Scripts.
thanks you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
JavaFX是一个RIA框架,类似于Silverlight和Flash。只需查看 JavaFx 即可了解到底是什么。
JavaFX is a RIA framework, which is something similar to Silverlight and Flash. just check out the JavaFx and will get an idea about what exactly is,.
好吧,由于 Oracle 发布了“生命周期结束”声明,宣布 javafx 1.3(和 javafx 脚本)将于 9 月 20 日停止,我想说“javafx 脚本没有任何用处,除了可能用于处理一些遗留代码”。
如果我从字面上理解你的问题并且想成为一个聪明的人,我就会这么说。 Java fx 脚本是一种 UI 语言,与 javafx 1.3 一起使用,javafx 1.3 是 Sun 最初的面向 javafx 用户界面多媒体的开发套件。它有自己的脚本语言,可以与 java 互操作。
许多人(包括我自己)认为这对太阳来说是一个极其愚蠢的举动。我们想用 Java 编写代码,并且不想使用一些愚蠢的脚本语言。 Oracle 通过 JavaFX 2.0 回应了我们的祈祷。简单来说就是取代旧标准Swing的用户界面工具包。它不仅如此——它基于自己的图形引擎 Prism,因此它几乎取代了所有旧的 java 多媒体类,AWT、SWING、GRAPHICS 2D 等。而且您可以用纯 Java 代码编写它。
正如上面的用户指出的那样,它是闪存的竞争对手,这也是正确的。基本上它是一个 SDK,用于为网络或桌面生成丰富的客户端界面......甚至可能适用于移动平台,但我不确定是否存在。
希望这会有所帮助——如果您想了解更多信息,我建议 Apress 出版 Pro JavaFX 2.0 关于 Javafx 2.0 的最佳书籍(实际上是迄今为止仅有的两本印刷品之一,但仍然写得很好)
Well, being as Oracle issued an 'end of life' statement pronouncing javafx 1.3 (and javafx script) dead come September 20, I would say that 'javafx script is of no use whatsoever, except perhaps for dealing with some legacy code'.
That's what I would say if I took your question literally and wanted to be a smart ass. Java fx script was a UI language that went along with javafx 1.3, suns original javafx user interface multimedia oriented development kit. It had its own scripting language interoperable with java.
This, many believed (mysself included) was a terrifically stupid move on suns part. We wanted to code in java and didn't want to have to dick around with some stupid scripting language. Oracle answered our prayers with JavaFX 2.0. It is to put it simply, the user interface toolkit that replaces the old standard, Swing. It's more than that -- it's based on it's own graphics engine Prism, so it pretty much replaces all of the old java multimedia classes, AWT, SWING, GRAPHICS 2D, etc. etc. And you can write it in pure Java code.
It's also correct, as the user above pointed out, that it's a flash competitor. Basically it's an SDK for producing rich cllient interfaces for the web or for the desktop... maybe even for mobile platforms but I'm not sure there.
Hope this helps -- if you want to learn more I suggest Apress publishings Pro JavaFX 2.0 Best book avbailable on Javafx 2.0 ( actually one of only two in print to date, but still damn well written)
这应该是一场Flash竞赛。
It's supposed to be a Flash compete.