我怎样才能有一个JTable,列和行都有标题?
这样的事情:
+------+------+------+------+
|/\/\/\| col1 | col2 | col3 |
+------+------+------+------+
| row1 | | | |
+------+------+------+------+
| row2 | | | |
+------+------+------+------+
| row3 | | | |
+------+------+------+------+
Run Code Online (Sandbox Code Playgroud)
谢谢