you should consider using RandomAccessFile("location of file") and read like this..
{Done with reading start of file contains field description}
RandomAccessFile.readInt(); //for magic cookies
RandomAccessFile.readInt(); //for number of fields
etc..
{Now read schema}
fieldnamelength = RandomAccessFile.readShort(); //field name
byte[] name = new byte[fieldnameLength];
raf.readFully(name);
<now add name to vector>
Now you can add this field name into vactor or anything
like wise do it for actual data as well and add it to different vector. Now you have two vector one with field name and other with actual data. When you pass that to JTable you will see entire data in JTable.
SCJP, SCWCD, SCBCD, SCJD, BB Java2 and JSP1.1