[Miles' Blog]

Welcome 2 My Planet

Available categories: [/] [development. ~]

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

Wed Sep 15 10:11:55 CST 2004
Category [working on Yup Mailman]

发现一个新问题,就是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 [0] |

?
九月 2021
Sun? Mon? Tue? Wed? Thu? Fri? Sat?
   1234
567891011
12131415161718
19202122232425
2627282930  
       
<  Aug???Today??? Oct  >
<< <   1   > >>

Available categories: [/] [development. ~]

Powered By blojsom?? RSS Feed? RSS2 Feed? RDF Feed

html hits:?159