简体   繁体   中英

Full table background color in swing

I'm building my Java application interface using a lot of Photoshop. 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.

Make sure that the background color of the JTable has been set accordingly

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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