| Author |
Not able to open links from JEditorPane
|
Anuj Joshi
Greenhorn
Joined: Feb 05, 2009
Posts: 22
|
|
I have added html page in JEditorPane. html page has some links.
When I open those links independantly i.e directly from html page then links are get opened.
but now I have added HTML page in JEditorPane. & from here links are not get opened.
& getting IOException........
java.net.ConnectException: Connection timed out: connect
Following is the code I have written for this.
Please check & give me appropriate solution.
i.e. Why I am not able to open links from JEditorPane.
reply soon
Thanks....
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8434
|
|
|
What do you get for
|
[Donate a pint, save a life!] [How to ask questions] [Onff-turn it on!]
|
 |
Anuj Joshi
Greenhorn
Joined: Feb 05, 2009
Posts: 22
|
|
event.getURL() : URL address on which I have clicked.
getting exact address of URL.
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
Do you use a proxy server in your browser?
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Anuj Joshi
Greenhorn
Joined: Feb 05, 2009
Posts: 22
|
|
|
Yes I have used a proxy server in my browser
|
 |
Maneesh Godbole
Saloon Keeper
Joined: Jul 26, 2007
Posts: 8434
|
|
|
This might help
|
 |
 |
|
|
subject: Not able to open links from JEditorPane
|
|
|