• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with JTable and Checkbox  RSS feed

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I jus came across with this problem. I created a JTable in which one column is a Selection using CheckBox. The problem is that instead of gettin the checkbox when i click on the row i get either "TRUE" or "FALSE".Is there any way to display the Checkbox instead of boolean values.
Thanks,
Pradeep
 
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use Boolean and you will get that automatically.
 
Get off me! Here, read this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!