Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 19656
    
  18

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
 
Don't get me started about those stupid light bulbs.
 
subject: JEditorPane Exception
 
Similar Threads
NX: help need with displaying HTML file with images.
Java Code to Convert RTF to JPG
No html page display along with E-mail receive
Java Print
when are the braces used {}