This content has been marked as final. Show 3 replies
javafx.embed.swing.SwingFXUtils.toFXImage(java.awt.image.BufferedImage bimg, WritableImage wimg)
Thanks for your help ,
I am using JavaFX 2.2.0 which is latest version as far I know . but I don't understand why I do not have this class in my JavaFX
I can just import
any idea where is my code issue ?
import javafx.embed.swing.JFXPanel; import javafx.embed.swing.JFXPanelBuilder;
Your likely not using a 2.2 runtime.
You can find out what runtime you are actually using by placing the following code in your application's start method:
And looking at the version numbers of the JavaFX related properties.