问题描述
ControlsFX类是标记为已弃用。
ControlsFX class Dialogs
is marked as deprecated.
使用什么?
推荐答案
这博客文章解释了这一切:
This blog post explains it all:
一旦JavaFX 8u40对话框完成API(仅在8月中旬),我们就如何继续使用ControlsFX对话框制定了计划。从本质上讲,我们并不认为在ControlsFX中维护一个与JavaFX 8u40中提供的内容如此不同的对话API是明智的。因此,我们开发的计划是弃用旧的ControlsFX API,将JavaFX对话框API分成一个名为openjfx-dialogs的新项目,并使用新的API重新创建ControlsFX包含的其他功能(但在JavaFX本身中缺少)。 (这包括进度,字体选择器,命令链接,登录等对话框。)
Once JavaFX 8u40 dialogs were API complete (which was only mid-August), we developed a plan for how to proceed with ControlsFX dialogs. In essence we didn’t feel that it was wise to maintain a dialogs API in ControlsFX that was so divergent than what will ship in JavaFX 8u40. Therefore, the plan that we developed was to deprecate the old ControlsFX API, fork the JavaFX dialogs API into a new project called openjfx-dialogs, and to recreate the additional features that ControlsFX includes (but are lacking in JavaFX itself) using the new API (this includes dialogs like progress, font chooser, command link, login, etc).
这篇关于controlsfx对话框被弃用了什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!