This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Question about JTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Question about JTable" Watch "Question about JTable" New topic
Author

Question about JTable

Kruger Scheitz
Ranch Hand

Joined: Jul 31, 2002
Posts: 72
how to set a particular color for a particular row in the JTable? need help urgently
Thomas Fly
Ranch Hand

Joined: Sep 09, 2002
Posts: 164
How to change font in JTable?


Fly by Night Consultants<br /> <blockquote><font size="1" face="Verdana, Arial">quote:</font><hr><i>I climbed on the back of a giant albatross<br />which flew through a crack in the cloud<br />to a place where happiness reigned...<br />all year 'round<br />the music played ever so loudly!</i><p><a href="http://thomasfly.com/songs/Traffic/Hole_in_my_Shoe_qt.htm" target="_blank" rel="nofollow">Hole in My Shoe</a><hr></blockquote>
Ashik Uzzaman
Ranch Hand

Joined: Jul 05, 2001
Posts: 2370

Were you talking about color of a row when selected? Then

jtbTableName.setSelectionBackground(java.awt.Color.green);


Ashik Uzzaman
Senior Member of Technical Staff, Salesforce.com, San Francisco, CA, USA.
Kruger Scheitz
Ranch Hand

Joined: Jul 31, 2002
Posts: 72
thx a lot guyz
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question about JTable
 
Similar Threads
JTable
JTable
JTable
JTable
JTable