Re: Get JEditorPane to display new URL...
To get the browser to navigate to any URL, pass in the URL object to:
To get a new browser window to pop up, use the same method (overloaded) and
pass in the URL and a frame name - in this case "_blank":
"Mike Jewson" <email@example.com> wrote:
>I have created a JEditorPane that will show HREFs to pages in an Applet.
>I can get the URL that the HREF is pointing to.
>I don't want the JEditorPane to display the new URL.
>How do I get the web browser to follow that link??
>Could I have a new web browser open that is directed to the new URL and
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL