Meaningless Drivel is fun!
The moose likes Swing / AWT / SWT and the fly likes HTML Link Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "HTML Link " Watch "HTML Link " New topic


Isaac Hewitt
Ranch Hand

Joined: Jul 24, 2006
Posts: 191

I have HTML pages displayed inside a JEditorPane. I can change pages alright by clicking on the nodes of a JTree that specify each page. In the one of the HML pages, I have an external link to an internet page.
I know how to have a web page open up from within java code using JDIC but from within an HTML page, the link does not work directly. I know how to code HTML and CSS because I have done website.

From within java code:

Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2261
Where is the SSCCE?
It is sorta covered in the JavaRanch Style Guide.
subject: HTML Link