This discussion is archived
0 Replies Latest reply: Dec 30, 2011 8:38 PM by 828294 RSS

Jtable non editable column remove selection and remove focus

828294 Newbie
Currently Being Moderated
i am googieing for a solution for jtable non editable columns remove cell or column selection and focus upto key press or on mouse click

by using
public boolean isCellEditable(int row,int col){
if(col=3){
return true;
}
return false;
}

with this i am able to make my required cell editable and remaning uneditable. but my problem is cannot remove the focus and selection for these non editable fields

please help me in finding a solution for this.

Thanks
Kurra

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points