我们将创建一个java独立桌面应用程序。 我们正在寻找表示层的最佳解决方案。 我看过javaFX并且非常喜欢它,但我有点困惑。 它可以用在独立的桌面应用程序中吗?
我可以在我的独立桌面应用程序中使用javaFX并使用css来设置Ui的样式吗?
We are going to create a java standalone Desktop application. We are searching for the best solution for the presentation layer. I saw javaFX and really liked it, but I am a bit confused. Can it be used in standalone Desktop applications?
Can I use javaFX in my standalone Desktop app and also use css to style the Ui?
最满意答案
完全可以在独立的桌面应用程序中使用JavaFX并对其应用CSS样式。
在JavaFX的术语中,这被称为“独立”或“自包含”部署 。
如果需要,您甚至可以将其与Swing或SWT集成。 但请注意,反过来也不可能。
It is perfectly possible to use JavaFX in a standalone Desktop app and apply CSS styling to it.
In JavaFX's lingo, this is know as a "Standalone" or "Self-Contained" deployment.
You can even integrate it with Swing or SWT, if the need arises. Note, though, that it's not possible the other way round.
更多推荐
发布评论