0

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

4
Contributors
4
Replies
6
Views
7 Years
Discussion Span
Last Post by Majestics
0

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

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.