using Hyperlinks and Logins of URL in Java program

Hey, I am not quiet sure if this is the correct forum to place this question in, but i went with it because of the stamp networking.

I am building a program that grabs sites of the web and decodes the HTML and then displays a web page. I would like to know how I would make the links from the site usable so that I can click on sed link and proceeded to the next page. I would also like to make it possible to login to sites such as forum.java.sun (example) to potentially use as a built browser.

thanks,

wolfx128

[539 byte] By [Wolfx128a] at [2007-11-27 9:04:59]
# 1
You can show an HTML webpage on a JEditorPane ( http://java.sun.com/javase/6/docs/api/javax/swing/JEditorPane.html). You need to add listeners and handle the appropriate events to be able to follow hyperlinks.
java_knighta at 2007-7-12 21:38:41 > top of Java-index,Core,Core APIs...
# 2
which listeners do i need to drop in?
Wolfx128a at 2007-7-12 21:38:41 > top of Java-index,Core,Core APIs...
# 3
one such listener ishyperlinklistener...
manishmulani@nitka at 2007-7-12 21:38:41 > top of Java-index,Core,Core APIs...
# 4
any easy tutorials for thisand thank you I will give the dukes to the person with the tutorial
Wolfx128a at 2007-7-12 21:38:41 > top of Java-index,Core,Core APIs...
# 5
Forget the tutorialCan anyone one tell me how to use buttons that are not HTML link and how to run javascript for the page in the JEditorPane
Wolfx128a at 2007-7-12 21:38:41 > top of Java-index,Core,Core APIs...