posted 21 years ago
that is the first cell in JTable at position 0,0,where i get the focus with my tab key ,and at this point on , i like to select this row, but this does not happen untill i move the focus to the next cell at 0,1(row,column),i could not find in api anything like selectrow(int row),i found
isRowSelected();
setRowSelectedAllowed(true);
and i am also working with
getTableCellRendererComponent(JTable table, Object value,
boolean isSelected, boolean hasFocus,
int row, int column)
I am trying to select the first row ,when the focus is at cell number 0,0.Am i missing anything,or any advice will be valuable.
thanks
thanks
harcharan
[ September 26, 2002: Message edited by: harcharan kanwal ]
[ September 26, 2002: Message edited by: harcharan kanwal ]