Try this one
http://www.javaprogrammingforums.com/java-code-snippets-tutorials/185-how-grab-html-source-website-url.html
Type: Posts; User: Norm
Try this one
http://www.javaprogrammingforums.com/java-code-snippets-tutorials/185-how-grab-html-source-website-url.html
Look at the javax.swing.text.html package. There are html parsers etc in there.
Use google to find code samples.