Miles' Blog

Welcome 2 My Planet

Available categories: [/] [development. ~]

ContentType不可以反复设置? [Permalink]

Wed Sep 15 10:11:55 CST 2004

发现一个新问题,就是JTextPane的ContentType在被设置成text/html后,重新设置成text/plain就会报IllegalArgumentException: Must be StyledEditorKit
我估计可能是因为text/plain无法保证text/html所拥有的格式导致的。。总之api doc上面没有说明。

BTW,新的YupStudio logo和Mailman的icon:

   

Posted by: miles

Comments on this entry





Author (*):
Verify Code (*):8 9 7 9
E-mail:
URL:
Comment (*):
Remember me?

Available categories: [/] [development. ~]

Powered By blojsom   RSS Feed  RSS2 Feed  RDF Feed