X-Received: by 10.224.215.194 with SMTP id hf2mr11607462qab.0.1366404310209; Fri, 19 Apr 2013 13:45:10 -0700 (PDT) X-Received: by 10.182.18.70 with SMTP id u6mr473760obd.28.1366404310043; Fri, 19 Apr 2013 13:45:10 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!cj1no7029077qab.0!news-out.google.com!ef9ni2qab.0!nntp.google.com!gp5no3125761qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.java.gui Date: Fri, 19 Apr 2013 13:45:09 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=130.76.32.78; posting-account=_7xgmwoAAADi7iXKBO-oX5zbCfSzsCV0 NNTP-Posting-Host: 130.76.32.78 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: JTextPane.setEditorKit() From: FredK Injection-Date: Fri, 19 Apr 2013 20:45:10 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.lang.java.gui:5326 Calling setEditorKit()from a JTextPane deletes the current content. I did not find this documented anywhere - should it do this? -- Fred K