What is the best approach to put some web browser Panel on JFrame in JAVA application?
2 Answers
My suggestion would be to use JEditorPane and its method setPage(url).
Take a look at this: How to use Editor Panes and Text Panes?
4 Comments
J.Olufsen
What tool can I use to build GUI fast in Eclipse?
Harry Joy
You need to have some GUI building plugin in your eclipse. That are number of plugins available out there, you can try them. I have not tried any of them so can't comment on that. This can help you decide: stackoverflow.com/questions/29426/best-gui-designer-for-eclipse
J.Olufsen
I red in tutorial that it will only extract text form html page, but I need to display some images as well./
Harry Joy
@RCola It will also display images. google.co.in/…
I don't know any good web browser component for Swing. But JavaFX 2.0 has a web browser component, and you can embed JavaFx 2.0 components in a Swing application. See Adding HTML Content to JavaFX Applications