Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable - grid lines

 
zoe goddard
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 123
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic