File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 2447
Where is the SSCCE?
I agree. Here's the link:
subject: HTML Link
It's not a secret anymore!