-
JCheckBoxes in Jtable making editable
Hi,
Can anyone help me with this problem. It goes like this : I have a framework class which complies to my frmaework and has many methods that I will need. But it eventually extends the AbstractTableModel which has the method IsEditable returning false by default. Now the table that is created using this framework class have the cells noneditable by default.
I want to display checkBoxes in my tables. And want to make them editable so that I can take user input. But Its not editable. I even tried writing a class that extends this framework class but overrides the isCellEditable method to return true and set this new class as a model to the table. Now the label fields in the cells (Strings) can be edited but the ceckboxes are still uneditable. IS there any Editor class needed to make the checkboes editable. Or is the approach altogether wrong. Can there be some way that i can get the checkboxes editable. (Except chenging the framework classes)
Help will really be appreciated.
bye
Similar Threads
-
Replies: 5
Last Post: 04-27-2005, 04:43 AM
-
Replies: 0
Last Post: 04-02-2002, 04:04 PM
-
By Jan Vettenburg in forum Java
Replies: 1
Last Post: 11-30-2001, 10:57 AM
-
Replies: 2
Last Post: 09-25-2001, 03:58 PM
-
By Fabio Luis De Paoli in forum Java
Replies: 1
Last Post: 12-16-2000, 10:00 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks