This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes JEditorPane Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JEditorPane Exception" Watch "JEditorPane Exception" New topic
Author

JEditorPane Exception

Meet Gaurav
Ranch Hand

Joined: Oct 08, 2008
Posts: 492
Hi

Some one please assist me the reason for the exception, (Its my system issue). Unknown host exception

Am getting at this line..
jeditorPane.setPage(urlObj); //Getting exception at this line

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

Does the error also occur if you use the following code to create the URL:


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Meet Gaurav
Ranch Hand

Joined: Oct 08, 2008
Posts: 492
This works fine...

Thanks Rob
 
GeeCON Prague 2014
 
subject: JEditorPane Exception