• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Load a file from disk into JEditorPane or JTextPane etc

 
Darrell Morello
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK Nevermind. I've got it.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic