阅读背景:

Java Swing - Nimbus L&F在JTable header中使用了自定义图标。

来源:互联网 

I'm trying to create a custom cell renderer that will display an image in JTable's header cell. I've gotten the source code to work with the Metal L&F but I am encountering problems with Nimbus. Under normal circumstances, Nimbus displays the image just fine. However, when a table is sorted, Nimbus will draw the sort icon instead of the icon I've specified. This is different than the Metal L&F, as that will always draw the icon I've provided.I'm trying to create a custom cell renderer tha




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: