关于 Drombler FX for NetBeans Platform RCP 应用程序的问题

Questions about Drombler FX for NetBeans Platform RCP application

我正在寻找可在基于 NetBeans 平台的应用程序中使用的 JavaFX 应用程序框架。是否可以在其中使用 Drombler FX?我查看了其他替代方案(mFx 和 eFX,但似乎已被放弃)并且我想避免 Swing 与 JavaFX 的混合外观。

我尝试 运行 示例应用程序以更好地了解其功能,但是当我按照入门说明生成它时出现错误:

Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:2.4:generate (default-cli) on project standalone-pom: The desired archetype does not exist (org.drombler.fx:drombler-fx-maven-archetype-application:0.8-SNAPSHOT)

最后,Drombler FX 是否正在积极开发中?

我是 Drombler FX 的主要开发者。

Lastly, is Drombler FX under active development?

是的,Drombler FX 正在积极开发中。

The desired archetype does not exist (org.drombler.fx:drombler-fx-maven-archetype-application:0.8-SNAPSHOT)

请注意,在撰写本文时,最新发布的版本是 0.7。 v0.7 的所有工件都已部署到 Maven Central 并且应该可用。 您可以找到 v0.7 教程的入门页面 here

如果您确实想使用当前开发的SNAPSHOT版本,请将以下repo添加到您的Maven Repository Manager(例如Nexus)的代理:

https://oss.sonatype.org/content/repositories/snapshots/

I am looking for a JavaFX application framework to use in a NetBeans Platform based application. Would it be possible to use Drombler-FX in it? I looked at other alternatives (mFx and eFX, but seem abandoned) and I would like to avoid the mixed look of Swing with JavaFX.

Drombler FX 不是为集成到 NetBeans 平台应用程序而设计的,它不支持开箱即用的 NetBeans 平台模块。由于 NetBeans 平台支持 OSGi(至少在某种程度上?),我想您至少必须找到引导代码的替代品,您可以在这里找到:

但即使您能做到,您是否仍然希望避免混合使用 Swing 和 JavaFX?