this is what i have done
String fields[]={"Full name", "Last name", "Age"}; //for table String data[][]={{"Shakti","Raj","20"},{"Pranish","Shrestha","19"},{"Samrat","Pradhan","19"}}; JT = new JTable(data,fields); sp =new JScrollPane(JT); result_Panel.add(sp);
now how to add more