How to mix Java Swing and JavaFX in Swing application?

前端 未结 2 501
失恋的感觉
失恋的感觉 2021-01-06 10:59

I am developing a Java Swing application but I want to also use JavaFX with Swing. Is there any resource for that told how to do that?

2条回答
  •  猫巷女王i
    2021-01-06 11:27

    See here. The short story is that embedding JavaFX in Swing is now possible and supported via JFXPanel, but the other direction is not supported.

提交回复
热议问题