Tuesday, December 24, 2013

Java JTable Set Column's Read Only / Editable

{
    boolean[] canEdit = new boolean [] {
        false, true, false, false, false, false, false
    };
    public boolean isCellEditable(int rowIndex, int columnIndex) {
        return canEdit [columnIndex];
    }
}

No comments:

Post a Comment