Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

html JEditorPane

Status
Not open for further replies.

rgudino

Technical User
Jan 29, 2004
12
US
Creating application where I have JEditorPane to display html pages. I do I display html pages from the my local machine. All the html content I want displayed will be located on my local machine. Can someone maybe give me example please.

thank you
 
Yes. We can... Simple example...
Code:
JEditorPane ep = new JEditorPane("[URL unfurl="true"]http://example.com");[/URL]
JEditorPane ep2 =
  new JEditorPane("/usr/doc/haha.html");


[plug=shameless]
[/plug]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top