HI All,
I have Jtable,I have popup for cut,copy,paste on right click.
I ma doing that.
But my problem starts here!!!
When I copy a cell and want to paste to another cell,
how can I disable Cut and Copy because when I say
if(table.getSelectedColumnCount()==0 || table.getSelectedRowCount()==0){
popcut.setEnabled(false);
popcopy.setEnabled(false);
}
Always the selected cell is taken as 1.
Any ideas!!!
Thanx
Rajani
[ October 28, 2002: Message edited by: Rajani Katta ]