It's not a secret anymore!
The moose likes Swing / AWT / SWT and the fly likes Problem with JTable and Checkbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Problem with JTable and Checkbox" Watch "Problem with JTable and Checkbox" New topic

Problem with JTable and Checkbox

Pradeep Selvaraj

Joined: Sep 29, 2003
Posts: 17
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.
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
Use Boolean and you will get that automatically.
I agree. Here's the link:
subject: Problem with JTable and Checkbox
jQuery in Action, 3rd edition