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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with JTable and Checkbox
 
Similar Threads
JCheckBox in JTable
JTable
JTable
JTable
JTable And CheckBox