if((Integer) results.getTextPages().get(kInteger) ==nextPage){
Object h= searchFrame.getTextRectangles().get(kInteger);
if(h instanceof Rectangle){
storageVector.addElement((Rectangle)h);
}
if(h instanceof Rectangle[]){
Rectangle[] areas = (Rectangle[])h;
for(int i=0; i!=areas.length; i++){
storageVector.addElement(areas[i]);