Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JCheck Box  RSS feed

 
Venkatesh Raman
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Jcheckbox on a Jtable which is a DefaultTableModel. By default i see true. when I click on the checkbox I see true or false. I just wanted only the check box to appear and I wanted to remove the true or false? How can i do that ?
I also need to center the checkbox.
Please help
 
Paul Stevens
Ranch Hand
Posts: 2823
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using boolean or Boolean? Boolean is what you need to use. The check box will happen autimatically after that.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!