This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTable - grid lines
 
It's not a secret anymore!