开发者

Is there a way to make a very simple IE browser with java?

开发者 https://www.devze.com 2023-02-03 12:06 出处:网络
I have a small project that i was wondering if it is possible to do with java. I know that VB .net开发者_开发问答 has the ability to make a simple web browser using an Internet explorer interface. I

I have a small project that i was wondering if it is possible to do with java. I know that VB .net开发者_开发问答 has the ability to make a simple web browser using an Internet explorer interface. I was wanting to do the same thing with java. Unless somebody knows how to compile VB on linux and would like to explain it to me.

Please tell me if you need anymore information.


JEditorPane has limited HTML rendering support, but no javascript engine


If you want Internet Explorer specifically, it's not going to be possible in the same way. VB.net uses the part of Internet Explorer that is built into the system. In other words, it is referencing a part of the Windows system, so you need to be running Windows to use it, regardless of the language.


You would need to use a tool such as http://www.ezjcom.com/ to get a COM wrapper in Java, from there you can embed IE as an ActiveX object.

All of these pieces might make it a little slow or cumbersome, but it should be possible.

0

精彩评论

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