hi
i am working in project in java i have data that i want to display in jtable but only the data is appered but the column names do not apper

Post the code.

before post the code here please look here and here and here

String col[]={"name","2name","mname"};
String kk[][]={
{"ali","ahmed","asraa"},
{"sarah","sora","reem"},
};
JTable b=new JTable(kk,col);

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.