I have a table with 7 columns. I am trying to delete columns 2-6. Here is the code:
for(int col=1;col<6;col++)
It does not get rid of column 2.
I also get the error
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 4 >= 4
I think I can fix this . If not tell me how to.