I have a JavaFX application and it works well. But when I want to run it as an applet in a browser it hangs on the Java logo.
Any suggestions? Does that applet try to download .jnlp from net?
Unable to load resource: http://dl.javafx.com/1.3/javafx-rt-natives-windows-i586__V1.3.0_b412.jar.
Can you check if that is available?
Ulf Dittmer wrote:What do you mean by "deployed by netbeans"? An applet is deployed by putting an HTML file -that contains an APPLET (or similar) tag- on a web server. I'd start by putting that in place. One way to achieve that is described here.
Running a JavaFX app in Netbeans in applet mode, automatically deploys the javaFX app internally and exposes it on a internal http endpoint. That's what he meant by "deployed by netbeans"
Lucas Smith wrote:that applet is deployed by netbeans. it works well on different computer. any ideas?
As you say - Your JavaFX app works when accessed on different computer, but does not work when accessing from your machine
Have you tried to run the javaFX app in your Netbeans in "Standard Execution" mode instead of "applet execution" mode?
If the former worked and the latter did not on your machine, the problem is one of the following:
1. You are not able to download the JavaFX jars over the net - may be due to your browser security settings.
2. Your browser uses a older version of JRE or no JRE at all - Check your Java Console and enable the right version.
It is definitely one of these issues.
By the way, if you are interested in tryng the offline version of JavaFX, please ensure you got the online version working first :-)