Can we use JAVAFX code inside a SWING code?
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.
精彩评论