开发者

Can we use JAVAFX code inside a SWING code?

开发者 https://www.devze.com 2023-03-09 06:11 出处:网络
I know that we can use swing modules inside a JavaFX applicaion but can we do the reverse. I want to use JAVAFX effects and animation an开发者_Go百科d also stylesheets inside my Java Swing code. Are t

I know that we can use swing modules inside a JavaFX applicaion but can we do the reverse. I want to use JAVAFX effects and animation an开发者_Go百科d also stylesheets inside my Java Swing code. Are there any samples avaialable?


You can find a brief tutorial here.


If you use JavaFX 2.0 Beta, it is cleaner. A good example is SwingJavaFXChart, available in the <SDK>/apps directory.

0

精彩评论

暂无评论...
验证码 换一张
取 消