Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java in General and the fly likes Load a file from disk into JEditorPane or JTextPane etc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Load a file from disk into JEditorPane or JTextPane etc" Watch "Load a file from disk into JEditorPane or JTextPane etc" New topic
Author

Load a file from disk into JEditorPane or JTextPane etc

Darrell Morello
Ranch Hand

Joined: Apr 28, 2005
Posts: 38
Is it possible a file from disk directly into JEditorPane or JTextPane or JTextArea? I mean without having to read the file, just by providing the path to the file. What I really want to do is load an HTML file. With images and stuff.

Thanks
[ May 28, 2005: Message edited by: Darrell Morello ]
Darrell Morello
Ranch Hand

Joined: Apr 28, 2005
Posts: 38
OK Nevermind. I've got it.

 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Load a file from disk into JEditorPane or JTextPane etc
 
It's not a secret anymore!