my dog learned polymorphism*
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
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
 
jQuery in Action, 2nd edition
 
subject: Question about hyperlink...