为什么JavaFX API不包含在Java 8 J2SE中? [英] Why is JavaFX API not included in Java 8 J2SE?

查看:875
本文介绍了为什么JavaFX API不包含在Java 8 J2SE中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道为什么JavaFX 8仍然不是即将推出的Java 8中的日常J2SE API?

Does anyone have any idea why JavaFX 8 still isn't an everyday J2SE API in the upcoming Java 8?

显示所有Java组件的技术图明显排除来自J2SE堆栈的JavaFX。

The technology diagram showing all the Java components clearly excludes JavaFX from the J2SE stack.

我想在JDK javadocs中并排看到JavaFX和Swing API ..并且想知道为什么Oracle没有/不能给我们这个吗?

I'd like to see JavaFX and Swing APIs side-by-side in the JDK javadocs.. and wonder why Oracle doesn't/can't give us that?

BTW,关于JavaFX的不同状态(与J2SE中包含的其他标准相比),任何人都可以解释为什么JavaFX的作者觉得有必要重新发明轮子创建AWT / Swing不兼容的概念,如FX字体,FX颜色等等?

BTW, on the topic of JavaFX's different status (compared to other standards included in the J2SE), can anyone explain why the authors of JavaFX felt it absolutely necessary to re-invent the wheel creating AWT/Swing-incompatible concepts like FX Fonts, FX Colors, and the like?

推荐答案

JavaFX路线图。

JavaFX Roadmap.

根据常见问题解答 -


从JavaFX 2.2和Java SE 7更新6开始,JavaFX库是作为Java SE的一部分安装的
;

As of JavaFX 2.2 and Java SE 7 update 6, the JavaFX libraries are installed as part of Java SE;

对于挥杆部分 -


JavaFX是否将Swing替换为新的Java SE的客户端UI库?

Is JavaFX replacing Swing as the new client UI library for Java SE?

是的。但是,在可预见的未来,Swing仍将是$ SE $ b规范的一部分,因此包含在JRE中。

Yes. However, Swing will remain part of the Java SE specification for the foreseeable future, and therefore included in the JRE.

JavaFX足够广泛,可以像Java SE或Java EE一样拥有单独的层次结构。

JavaFX is broad enough to have a separate hierarchy just like Java SE or Java EE.

您可以看到定义这里

Java SE


当大多数人想到Java编程语言时,他们认为Java SE API是
。 Java SE的API提供了
Java编程语言的核心功能。它定义了从基本类型
和Java编程语言的对象到用于网络,安全性,数据库访问,图形化
用户界面(GUI)开发的高级类
的所有内容,和XML解析。

When most people think of the Java programming language, they think of the Java SE API. Java SE's API provides the core functionality of the Java programming language. It defines everything from the basic types and objects of the Java programming language to high-level classes that are used for networking, security, database access, graphical user interface (GUI) development, and XML parsing.

Java EE


Java EE平台构建于Java SE平台之上。 Java
EE平台为开发和运行大规模,多层,可扩展,可靠且安全的
网络应用程序的
提供了API和运行时环境。

The Java EE platform is built on top of the Java SE platform. The Java EE platform provides an API and runtime environment for developing and running large-scale, multi-tiered, scalable, reliable, and secure network applications.

Java ME


Java ME平台提供了一个API和一个小型虚拟
机器,用于在小型
设备(如移动电话)上运行Java编程语言应用程序。 API是Java SE API的一个子集,
以及对小型设备应用程序
开发有用的特殊类库。 Java ME应用程序通常是Java EE
平台服务的客户端。

The Java ME platform provides an API and a small-footprint virtual machine for running Java programming language applications on small devices, like mobile phones. The API is a subset of the Java SE API, along with special class libraries useful for small device application development. Java ME applications are often clients of Java EE platform services.

JavaFX


JavaFX是一个使用
轻量级用户界面API创建富Internet应用程序的平台。 JavaFX应用程序使用
硬件加速图形和媒体引擎来利用
更高性能的客户端和现代的外观以及用于连接网络数据的
高级API源。 JavaFX
应用程序可能是Java EE平台服务的客户端。

JavaFX is a platform for creating rich internet applications using a lightweight user-interface API. JavaFX applications use hardware-accelerated graphics and media engines to take advantage of higher-performance clients and a modern look-and-feel as well as high-level APIs for connecting to networked data sources. JavaFX applications may be clients of Java EE platform services.

这篇关于为什么JavaFX API不包含在Java 8 J2SE中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆