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

Recommended Answers

All 4 Replies

Post the code.

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

String col[]={"name","2name","mname"};
String kk[][]={
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, learning, and sharing knowledge.