Piccolo2D在Swing上有两个显著的优点:
我认为这些特征是“正常的”和“基本的”,而这些东西的缺失意味着图形库是无效的(比如Swing)。
所以,我想知道,作为Swing改进替代方案的JavaFX是否包含上述基本特性?
发布于 2013-11-06 18:42:56
JavaFX中的大多数组件都是节点,它们可以分层地相互关联。
来自建筑概论
The JavaFX scene graph (...) is a hierarchical tree of nodes that
represents all of the visual elements of the application's user interface.
Each node in a scene graph has a single parent and zero or more children.应用于节点的转换也会影响到它的子节点,所以是的,JavaFX具有您想要的特性。
https://stackoverflow.com/questions/19819946
复制相似问题