Hi, I want to create a table, which stores all the information. For example if i have a class like public class person { public string name; public int ssn; public int age; } What i want to do is i want extract all the information from the object and store in the data structure like: Name SSN Age XXX YYY Z UUU WWW q I want this data structure to be ordered. can some one tell me , how to do this. Please help . Thanks for your time kumar.
From your other comments, I assume that by "table" you really mean data structure, as opposed to a GUI table, like JTable. I suggest you check out Java Collections, which has a wealth of data structures for this type of purpose. --Mark