最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Java based Swing Browser should support JavaScript - Stack Overflow

programmeradmin1浏览0评论

In my pany, I am implementing a java based html browser. I found a lot of tools to generate plete browsers only in Swing which are looking like Mozilla. But I was not able to find a browser which supports JavaScript. The browser I will implement should execute JavaScript inside the HTML sides.

Do you know of a tool that supports this? Or do you know of a parser which pairs the javascript to something I can use inside the html browser?

I know that the eclipse plugins can handle javascript, but I can not use AWT in my project.

Thanks for your help.

In my pany, I am implementing a java based html browser. I found a lot of tools to generate plete browsers only in Swing which are looking like Mozilla. But I was not able to find a browser which supports JavaScript. The browser I will implement should execute JavaScript inside the HTML sides.

Do you know of a tool that supports this? Or do you know of a parser which pairs the javascript to something I can use inside the html browser?

I know that the eclipse plugins can handle javascript, but I can not use AWT in my project.

Thanks for your help.

Share Improve this question edited Dec 10, 2008 at 20:52 sblundy 61.4k22 gold badges123 silver badges124 bronze badges asked Dec 10, 2008 at 20:49 Markus LausbergMarkus Lausberg 12.3k6 gold badges42 silver badges66 bronze badges
Add a ment  | 

3 Answers 3

Reset to default 3

You don't want to build this yourself. Fortunately, there are a number of open source javascript engines you might be able to adapt.

I'd look at Lobo. It sounds like just want you want. It has a HTML Renderer and parser, and some support for Javascript. If it's missing a feature of Javascript that you need, it seems like it would easier to contribute to Lobo, instead of reinventing the wheel.

In my pany, I am implementing a java based html browser.

Good God, why?

That said, this page at java discusses some options; you could search it more extensively.

发布评论

评论列表(0)

  1. 暂无评论