Does anyone see a problem with this code. It seems to occasionally cause my program to just quit. I only use it for
testing but I can't find anything wrong.
public static void printTableData(Vector v)
{System.out.println(" --- Table Data ----------------------");
try
{ for(int i =0; i<v.size(); i++)>
{int tempLength =((Vector)v.get(i)).size();
Vector innV =(Vector)v.get(i);
for(int x =0; x<tempLength; x++)>
{
System.out.print(" "+innV.elementAt(x));
}
System.out.print("\n");
}
}
catch(Exception e)
{
System.out.println("table problem");
e.printStackTrace();
}
}