hi all, I am trying to integrate a web browser into my java swing GUI, I have enlisted the help in another post asking how to do it over here:
I have tried installing the JavaFX 2.0 sdk into my system,however it still does not work, I have also tried the JavaFX 1.3 sdk and it integrated fine.
However, some of the codes required to run a web browser in my GUI is only supported in the 2.0 sdk. I have searched online and since JavaFX is relatively new, not many people have alot of help on this topic. I have also tried to link the jfxrt.jar file from the sdk into my project's Classpath but it does not work. I am currently using eclipse Helios, any help will be appreciated thank you.
Note that JavaFX 2.0 is in beta and the (fairly buggy and incomplete) runtime is presently available only for Windows platforms. Also, the only supported build process is via the NetBeans 7 plugin. Also, I think NetBeans 7 isn't compatible with the JavaFX 1.x plugin -- for that you need NetBeans 6.8/6.9 (not sure if earlier versions support it).
Mohamed Sanaulla wrote:What JDK version are you using?
What is the error which is being report? >> ItDoesntWorkIsUseless
hello,i am pretty sure i repeated it many times i am currently using JavaFX 1.3 however i tried using 2.0 but it does not integrate.
sorry if i wasnt clear about it,but i said "However, some of the codes required to run a web browser in my GUI is only supported in the 2.0 sdk"
certain imports are only usable in 2.0.
JavaFX version and the JDK version are 2 different things. You can check for your JDK version by using the command- javac -version.
Web browser component is available only from JavaFX 2 onwards. And there's a drastic different between JavaFX 1.3 and JavaFX 2 and the imports are surely not going to match between the two versions.
1. We want you to post the code you are trying
2. we want you to tell us what issue you are facing- in terms of the exception stacktrace (if any) or some error message. Just saying it doesnt work- we really cannot find out what issue you are facing.