在Java应用程序中获取Chrome浏览器 [英] Getting Chrome Browser in java Applications
本文介绍了在Java应用程序中获取Chrome浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法让java应用程序内部的Chrome浏览器进入类似于Awesomium在C ++和C#目前没有办法将UI部分放入Java中。你应该考虑使用带有许多JNI调用的准系统WebKit + V8。你可以考虑编写一个JNA包装器。
为了让你的JNA变得更容易,你可以将嵌入式框架
Is there a way to get the Chrome browser inside of java applications similar to the way Awesomium works in C++ and C# applications?
解决方案
There is currently no way getting the UI portion into a Java. You should consider just using barebone WebKit + V8 with many JNI calls. You could consider writing a JNA wrapper around those.
To make your JNA easier, you can wrap Chromium Embedded Framework
这篇关于在Java应用程序中获取Chrome浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文