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

Post the code.

Jump to Post

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 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.