JavaFX for Presentation Layer in Standalone Desktop App

大兔子大兔子 提交于 2019-12-07 12:16:21

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/13360274/javafx-for-presentation-layer-in-standalone-desktop-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!