且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

JTable和外观

更新时间:2023-12-03 14:24:52

更改外观后,网格丢失是正常现象吗?

is it normal behavior that grid goes missing after changing look and feel?

某些PLAF不会对其进行喷涂.

Some PLAFs do not paint it.

我正要在这个问题中热链接到不同PLAF中表格的一些示例图像.然后,我意识到源代码显示出与您描述的问题相同的问题!

I was just about to hot-link to some example images of tables in different PLAFs, in this question. Then I realized that source shows the same problem as you describe!

我可以在任何PLAF酒吧Nimbus中获得单元格边界/网格线.但是一旦选择了Nimbus,其他任何PLAF都不会再显示单元格边界. :(

I can get cell borders/ grid-lines in any PLAF bar Nimbus. But once Nimbus has been selected, none of the other PLAFs show cell borders any longer. :(