开发者

JavaFX partial refresh

Can JavaFX refresh part开发者_如何学Go of the page? Example, rearrange the top scorer in scoreboard like AJAX?


If you're implying that you want to refresh part of a web page, then the only way to get a JavaFX running on a webpage is to distribute it as a Java applet. You can make Javascript calls from JavaFX (see here for example) however I would argue that in most cases you'd want to avoid mixing applets and Javascript unless you have a very good reason to do so.

If you want to stick with JavaFX, then I would recommend trying to write the whole app with JavaFX and distributing as an applet, but be warned that there are still many criticisms of the user experience with JavaFX and applets, thought it has been done.

In answer to your question, assuming you had written a complete JavaFX app, then refreshing part of the app "page" would be trivial.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜