开发者

Call C++ APIs from Javafx UI for a desktop application

开发者 https://www.devze.com 2023-01-15 04:35 出处:网络
I am interested in using Javafx for my visu开发者_开发问答al content for a desktop application and call native,unmanaged C++ functions ( on events from the Javafx views). Is this possible? Can someone

I am interested in using Javafx for my visu开发者_开发问答al content for a desktop application and call native,unmanaged C++ functions ( on events from the Javafx views). Is this possible? Can someone explain with an example?


As JavaFX has been designed for maximal compatibility with the Java platform, you can always call Java code from your JavaFX code, and then do some JNI stuff, as in this example question.

0

精彩评论

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