Help with displaying webpage contents

Hi,

i am currently working on a browser using EditorPane to display web contents. However, i am having problem when trying to display the page.

It seems that setPage(url) is throwing an exception even though the typed url is a valid address. Oh yeah, in order to connect to any webpage, our server requires username and password. So, I believe that I need to do the same in order for setPage() to work.

How do I solve this? Thanks in advance!

[467 byte] By [xyperxexa] at [2007-11-26 16:10:14]
# 1
Hi,EditorPane gives you very limited function of rendering basic HTML..It won't be wise to expect EditorPane to handle session and authenitication issues. May be you problem is not solvable with EditorPane alone...
chaos_begins_herea at 2007-7-8 22:32:36 > top of Java-index,Java Essentials,Java Programming...
# 2

i see. but, is there a way in java to do an automatic login when trying to access any website? In other browsers (IE or Firefox), user is prompted to input username and password.

I have been searching google for ways to do that, but still can't find one. Any suggestion on which topic i should read on? Thanks for the help!

xyperxexa at 2007-7-8 22:32:36 > top of Java-index,Java Essentials,Java Programming...