aspose file tools*
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.

 
 
subject: Load a file from disk into JEditorPane or JTextPane etc