Hi,

My requirement: I want to remove all the records in a Table before I go to
next Page of a document.
And start adding new cells to the same table in the next Page.
for that I am using the following code.

                                        while(aTable.size()!=0){
        
//System.out.println("k"+k+"aTable.size()"+aTable.size());
                                                //aTable.deleteRow(k);
        
System.out.println(aTable.size());
                                                aTable.deleteLastRow();
                                        }

This is giving me error, "java.lang.IndexOutOfBoundsException: Index: 0,
Size: 0".

This error is occurring when I am trying to remove the last record of the
Table. So how can I EMPTY the table?

Regards,
N Rajasekhar.


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to