Displaying a Webpage
0 posts in topic
Flat View  Flat View

Posted By:   JAMES_LAM
Posted On:   Tuesday, August 28, 2001 01:24 PM

You can display a raw html file in an application by
setting up a JEditorPane with the approprate
instances of HTMLEditorKit and document type
in a container. However, how do you display a
web page without having to hardcode a file name
or URL directly into the code without causing
an error? For example, I want to display a an
empty white JPanel until I choose a webpage
from a JFileChooser instance.

About | Sitemap | Contact