Posted on 1998-09-24
I am trying to create a JTable which has two columns. The first column I want to be a JCheckBox (and I want the user to be able to set it checked or unchecked in the table as well as display the cell checked or unchecked depending on the data set that the model contains). The second column I want to have a JTextField as the CellRenderer but I don't want it to be editable, so it's not a CellEditor, just a CellRenderer. I also do not want to display the column headers. How can I do this?