简体   繁体   English

秋千中的全表背景色

[英]Full table background color in swing

I'm building my Java application interface using a lot of Photoshop. 我正在使用许多Photoshop构建Java应用程序界面。 But after implementing a table it doesn't look pretty cool as you can see: 但是在实现一个表后,它看起来并不酷:

接口

I would like to make the table as transparent as possible, so only letters are shown. 我想使表格尽可能透明,因此仅显示字母。 I have setted all the colors to black. 我已将所有颜色设置为黑色。 Any solution? 有什么办法吗?

JTable#setFillsViewportHeight would be the starting point. JTable#setFillsViewportHeight将是起点。

Make sure that the background color of the JTable has been set accordingly 确保已相应设置JTable的背景色

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM