由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Tabs defined by user can't be saved
相关主题
It is a bug. Re: Tabs definedJTextPane怎么快速更新
how to change the input mode?JtextPane中英等宽字体问题
请问JSP/SERVLET和MYSQL如何实现照片上载和调用输入中文导致的死 机
Servlet的IO吞吐瓶颈在哪里?为什么测下来只有3M bytes 左右?What are the design goals of the Enterprise JavaB
InputStream.read() 被block的问题(陷入无限等待)Re: 谁能提供可靠FTP,我将全部上载
junit questionConfiguration File reading.. xml?
java可以直接去读txt file里指定的一行吗?关于运算符的问题
JTextPane如何设置等宽字体[转载] Re: What are ontologies?
相关话题的讨论汇总
话题: tabs话题: defined话题: user话题: saved话题: jtextpane
进入Java版参与讨论
1 (共1页)
m******e
发帖数: 7
1
Hello everyone,
I write a text editor and add a ruler (the class Ruler from the link
http://java.sun.com/products/jfc/tsc/articles/text/tabs/ ) to my JTextPane.
Everything works well. The user can define tabs in different positions, and
the text can be aligned to the new defined tabs.
But as I use
RTFEditorKit.write(outputStream, the_doc_in_JTextPane, 0, doc.getLength())
to save the document as a .rtf file, all the user defined tabs are lost and
the default tabs are saved (that means all the tab
1 (共1页)
进入Java版参与讨论
相关主题
[转载] Re: What are ontologies?InputStream.read() 被block的问题(陷入无限等待)
JMS消息发布的问题junit question
关于actionPerformed()的问题java可以直接去读txt file里指定的一行吗?
能这么 create thread 吗?JTextPane如何设置等宽字体
It is a bug. Re: Tabs definedJTextPane怎么快速更新
how to change the input mode?JtextPane中英等宽字体问题
请问JSP/SERVLET和MYSQL如何实现照片上载和调用输入中文导致的死 机
Servlet的IO吞吐瓶颈在哪里?为什么测下来只有3M bytes 左右?What are the design goals of the Enterprise JavaB
相关话题的讨论汇总
话题: tabs话题: defined话题: user话题: saved话题: jtextpane