File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes I/O and Streams and the fly likes Saving the contents of  JEditorPane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Saving the contents of  JEditorPane " Watch "Saving the contents of  JEditorPane " New topic
Author

Saving the contents of JEditorPane

Param Yanamandra
Ranch Hand

Joined: Jun 06, 2002
Posts: 33
Hi All,

I 'm working on a problem where it is required to store the contents of a JEditorPane as an image to file. The content type I display in the JEditorPane is "html". Any ideas on how to save the to file?
Thanks in advance,
Param
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Saving the contents of JEditorPane