AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Set background color of a column

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java GUI Toolkits
View previous topic :: View next topic  
Author Message
Rene Ruppert
Guest





PostPosted: Tue Nov 11, 2003 12:31 pm    Post subject: Set background color of a column Reply with quote



Hi,

is there a way to set the background color of a whole column?
Right now I use setBackground() in my cell renderer but this still leaves a
white 1 pixel line between each line of data in my table. I just cannot
figure out how to color this line too.

Thanks.

cu

Rene


Back to top
Rene Ruppert
Guest





PostPosted: Thu Nov 13, 2003 12:46 pm    Post subject: Re: Set background color of a column Reply with quote



Hi,

Quote:
table.setIntercellSpacing(new Dimension(0, 0));
Thanks! That's it!


cu

René



Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java GUI Toolkits All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.