Received: by 10.224.223.84 with SMTP id ij20mr4357051qab.5.1348255290621; Fri, 21 Sep 2012 12:21:30 -0700 (PDT) Received: by 10.52.90.129 with SMTP id bw1mr1185938vdb.13.1348255290557; Fri, 21 Sep 2012 12:21:30 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!l8no5111717qao.0!news-out.google.com!e10ni4265390qan.0!nntp.google.com!l8no5089285qao.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.java.programmer Date: Fri, 21 Sep 2012 12:21:30 -0700 (PDT) In-Reply-To: <9db3f5bc-d91a-4452-8bf6-8825d994038e@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.28.149.29; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T NNTP-Posting-Host: 69.28.149.29 References: <0w17s.127$l36.73@newsfe20.iad> <9db3f5bc-d91a-4452-8bf6-8825d994038e@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <913cd3a2-5fea-4d32-a989-e87e267d9853@googlegroups.com> Subject: Re: CheckBox in Column of JTable: Exception: java.lang.String cannot be cast to java.lang.Boolean From: Lew Injection-Date: Fri, 21 Sep 2012 19:21:30 +0000 Content-Type: text/plain; charset=ISO-8859-1 Lines: 10 Xref: csiph.com comp.lang.java.programmer:18890 (unknown) wrote: > If I use the below code I don't get the error, but I get "false" strings in the column. > > public Class getColumnClass(int column) { > > Class returnValue; Don't use raw types. -- Lew