File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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 This is what they suggest for your problem:
I agree. Here's the link:
subject: JTable - grid lines
jQuery in Action, 3rd edition