JBuilder 2005를 사용하고있습니다.
사용을 처음 해본지라 아직 미숙해서 헤매고 있습니다.
지금 jScrollPane위에 jTable을 얹혀서 Table이 보이도록 하고 싶은데 Row Data는 보이지만 Column name이 보이지 않습니다.
소스는
========================================================================
......
String col_name[] = {"Field", "Bits", "Value", "Comment"};
String row_data[][] = {
{"tavle_id", "8", "0x0[0]", "program_association_section"},
{"tavle_id", "8", "0x0[0]", "program_association_section"},
{"tavle_id", "8", "0x0[0]", "program_association_section"},
{"tavle_id", "8", "0x0[0]", "program_association_section"},
{"tavle_id", "8", "0x0[0]", "program_association_section"},
{"tavle_id", "8", "0x0[0]", "program_association_section"}
};
......
JTable jTable1 = new JTable(row_data,col_name);
========================================================================
이렇게 만들었습니다.
다른걸 따로 손댄건 없습니다.
어떻게 해야 Column name이 보입니까??
제발 답변 부탁드립니다.
감사합니다.
|