Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about hyperlink...

 
seema prakash
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic