XML « JTextPane « Java Swing Q&A





2. XML + XSL in JTextpane    java-forums.org

3. jTextPane to xml    forums.oracle.com

Hi! I have a question, how to write the text and pictures from a JTextPane into a XML document?! I can save the text and pictures from the JTextPane into a document but it not works with XML document: private void doSave(File file) { FileOutputStream fous = null; { ObjectOutputStream oos = null; try { fous = new FileOutputStream(file); oos = ...