jQuery in Action, 3rd edition
The moose likes Beginning Java and the fly likes JTable - grid lines Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JTable - grid lines" Watch "JTable - grid lines" New topic

JTable - grid lines

zoe goddard
Ranch Hand

Joined: Dec 12, 2000
Posts: 74
I'm trying make a JTable appear completely black, except for the text.
I've tried the following, but it doesn't appear to work completely.
I'm adding a JTextField and I set the border to null.
I'm still getting white lines between the cells, any ideas of what this could be?
Julia Reynolds
Ranch Hand

Joined: May 31, 2001
Posts: 123
Whenever I have tricky Swing questions I do a search on jguru.com. This is what they suggest for your problem:
I agree. Here's the link: http://aspose.com/file-tools
subject: JTable - grid lines
jQuery in Action, 3rd edition