Reputation: 192
Currently I use JEditorPane
to display a simple HTML page with images and a link.
Now I would like to use httpClient 4.x from Apache to get HTML page instead of sun UrlConnection
Is it possible with JEditorPane
?
Is there another swing component able to display simple HTML and in which we can plug httpClient?
I've just try override the getSream
method of JEditorPane
(like that : HttpClient - Cookies - and JEditorPane )
It work fine for the HTML document but httpclient is not used to download child images.
Upvotes: 0
Views: 131
Reputation: 57421
You can load images and place them in the local cache.
http://java-sl.com/tip_local_images.html
Not sure it helps
Upvotes: 1