I have created a file that contains five kinds of data namely prodcode, prodname, quantity, price and totalamount. In my frame, I have a combo box that loads the prodcodes stored in the file. What I want is, if I have chosen a certain prodcode in the combo box, it should load the other details for that prodcode in the JTable. Can somebody give me a sample code on how am I going to do it? Please help.... Thanks!