wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes Question about hyperlink... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Question about hyperlink..." Watch "Question about hyperlink..." New topic
Author

Question about hyperlink...

seema prakash
Ranch Hand

Joined: Nov 17, 2004
Posts: 59
I have loaded a HTML file into JEditorPane.
I have loaded a HTML file into JEditorPane.
When I click on a hyperlink in the HTML page, that particular
link should be invoked in the browser(new window). But, if I click
on the hyperlink it opens the page into the JEditorPane itself.

I tried using the hyperlink html anchor tag which includes this attribute:
target="_blank". It should launch in its own window.But, it
does not work. How do I make it work? Please help
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Question about hyperlink...
 
Similar Threads
Form in NetBeans
Open a Web Page inside a jDesktopPane
Clicking on HyperLink
JEditorPane and JTextArea
JEditorPane Refresh