File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Problem with JTable and Checkbox

Pradeep Selvaraj
Greenhorn

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

Joined: May 17, 2001
Posts: 2823
Use Boolean and you will get that automatically.
 
Don't get me started about those stupid light bulbs.
 
subject: Problem with JTable and Checkbox