X-Received: by 10.224.110.68 with SMTP id m4mr35085qap.2.1359440485969; Mon, 28 Jan 2013 22:21:25 -0800 (PST) X-Received: by 10.49.39.99 with SMTP id o3mr26644qek.14.1359440485895; Mon, 28 Jan 2013 22:21:25 -0800 (PST) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!p13no7712582qai.0!news-out.google.com!k2ni3698qap.0!nntp.google.com!p13no5949285qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.java.programmer Date: Mon, 28 Jan 2013 22:21:25 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=160.83.30.199; posting-account=Z-5a_wkAAABTzN1pAiC7xNW_xfTNp2Vr NNTP-Posting-Host: 160.83.30.199 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Editable issues From: Mikhail Vladimirov Injection-Date: Tue, 29 Jan 2013 06:21:25 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.lang.java.programmer:21826 > item3 = new JTextField("Enter text here"); > item3.setEditable(false); > add(item3); > item4 = new JTextField("Can't edit", 20); > item3.setEditable(false); > add(item4); Probably because you did setEditable (false) on item3 twice, and didn't do it on item4?