{"id":31,"date":"2004-01-02T17:39:17","date_gmt":"2004-01-02T22:39:17","guid":{"rendered":"http:\/\/wp.javatechniques.com\/blog\/2004\/01\/02\/why-are-jtextpane-inserts-so-slow\/"},"modified":"2007-03-18T17:42:00","modified_gmt":"2007-03-18T22:42:00","slug":"why-are-jtextpane-inserts-so-slow","status":"publish","type":"post","link":"http:\/\/javatechniques.com\/blog\/2004\/01\/02\/why-are-jtextpane-inserts-so-slow\/","title":{"rendered":"Why are JTextPane inserts so slow?"},"content":{"rendered":"<p>Inserting a large amount of styled text into a <CODE>JTextPane<\/CODE> can be <I>painfully<\/I> slow. Part I of &#8220;<A HREF=\"http:\/\/javatechniques.com\/public\/java\/docs\/gui\/jtextpane-speed-part1.html\" onMouseOver=\"window.status='Last modified 1\/3\/04 2:48 PM by isenhour (http:\/\/javatechniques.com\/public\/java\/docs\/gui\/jtextpane-speed-part1.html)'; return true;\">Faster JTextPane Text Insertion<\/A>&#8221; examines two sources of sluggishness and illustrates a simple solution for one of them. (Part II will describe an additional solution.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Inserting a large amount of styled text into a JTextPane can be painfully slow. Part I of &#8220;Faster JTextPane Text Insertion&#8221; examines two sources of sluggishness and illustrates a simple solution for one of them. (Part II will describe an additional solution.)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,7],"tags":[],"class_list":["post-31","post","type-post","status-publish","format-standard","hentry","category-gui","category-optimization","entry"],"_links":{"self":[{"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/posts\/31","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/comments?post=31"}],"version-history":[{"count":0,"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/posts\/31\/revisions"}],"wp:attachment":[{"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/media?parent=31"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/categories?post=31"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/javatechniques.com\/blog\/wp-json\/wp\/v2\/tags?post=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}