Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > CheckBox in Column of JTable: Exception: java.lang.String cannot becast to java.lang.Boolean

Reply
Thread Tools

CheckBox in Column of JTable: Exception: java.lang.String cannot becast to java.lang.Boolean

 
 
clusardi2k@aol.com
Guest
Posts: n/a
 
      09-22-2012
The project that was not working yesterday is working today. I made no changes to the project at all. The exact same project that was giving me an error all day yesterday is working today.

What do you think about this. What should I do. How should I investigate this further. Should I be weary of using this project in the future.

Thank you,
 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      09-22-2012
On Fri, 21 Sep 2012 07:57:55 -0700 (PDT), wrote,
quoted or indirectly quoted someone who said :

>new Boolean(false)

Just a thought. These would be more efficiently coded as
Boolean.FALSE
--
Roedy Green Canadian Mind Products http://mindprod.com
The iPhone 5 is a low end Rolex.


 
Reply With Quote
 
 
 
 
Roedy Green
Guest
Posts: n/a
 
      09-22-2012
On Fri, 21 Sep 2012 10:32:15 -0700 (PDT), Lew <>
wrote, quoted or indirectly quoted someone who said :

>
>I'm pretty sure you need to see your large project in order to get it to work.


What OP needs to do is create SSCCE that is small, but has enough of
the logic of the big project to demonstrate the error. Without seeing
your code, and without being able to run it, all we can do is guess
what you might have done wrong. That is a rather large number of
possibilities.

see http://mindprod.com/jgloss/sscce.html
--
Roedy Green Canadian Mind Products http://mindprod.com
The iPhone 5 is a low end Rolex.


 
Reply With Quote
 
Stuart
Guest
Posts: n/a
 
      09-23-2012
On 9/22/12 clusardi2k wrote:
> The project that was not working yesterday is working today.
> I made no changes to the project at all. The exact same project
> that was giving me an error all day yesterday is working today.
>
> What do you think about this. What should I do. How should I
> investigate this further. Should I be weary of using this
> project in the future.
>
> Thank you,



Don't give up hope!

It's only natural that every once in a while you have to struggle with
your toolchain. Especially if you have to work with Eclipse. My 2 cents:
If anything stops working unexpectedly,
(1) restart Eclipse,
(2) clean any caches of Eclipse and restart it,
(3) do a complete checkout of the last revision of your project into
another directory and restart Eclipse,
(4) start again with step (1).

Regards,
Stuart

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
disable checkbox list checkbox Vikram ASP .Net 1 01-25-2006 02:59 PM
Text on Checkbox below the checkbox tshad ASP .Net 0 04-14-2005 11:26 PM
Cannot add a nested relation or an element column to a table containing a SimpleContent column. Random ASP .Net 1 11-19-2004 11:36 PM
Templated column cannot access datasource column ASP .Net 2 11-10-2003 03:58 PM
Convert an MS Access Yes/No column to a checkbox column in C# datagrid Gregory Rampton ASP .Net Datagrid Control 0 08-06-2003 04:09 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57