问题
I have a java application which is for viewing content from web. So I want to add a fully functional browser in my application. I've already tried JEditorPane and it's not processing dynamic contents. Is there any other way?
Any help on how to do it?
回答1:
This links are good examples for this:
- create browser in swing
- how-to-create-a-simple-browser-in-swing
Hope this helps.
回答2:
If you are willing to pay for third party software you might want to consider JxBrowser: http://www.teamdev.com/jxbrowser/
来源:https://stackoverflow.com/questions/5176806/add-a-web-browser-in-my-java-application