How do you retrieve the data to be displayed - an URLConnection? If so, you can set headers to deal with authentication. Check the Applet FAQ -linked in my signature- for an explanation (which is not applet-specific).
Ping & DNS - updated with new look and Ping home screen widget
I call the setPage() method on the JTextPane passing it an HTTP Address.
Are you suggesting using a URLConnection to read the data into a string and then setting the HTML in the control to the string?
Joined: Mar 22, 2005
Gosh, I never knew you could do that. But it doen't look to me like you can use advanced HTTP features with that method. I would think that it takes no more than 20 lines of code to open a HttpUrlConnection yourself, set the basic auth header, and retrieve the page contents. You could be done with that in an hour.