java中JTable上的最上面一行(含各列名的那一行)怎样设置颜色?
发布网友
发布时间:2024-10-03 06:29
我来回答
共1个回答
热心网友
时间:2024-12-12 11:47
JTable(TableModel dm,
TableColumnModel cm)
Constructs a JTable that is initialized with
dm as the data model, cm
as the column model, and a default selectionmodel.
里面的各格,可以使用
TableCellRenderer