aspose file tools*
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
Author

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.
table.setShowGrid(false);
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:
http://www.jguru.com/forums/view.jsp?EID=844760
Julia
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JTable - grid lines