This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Artima Forums.
Message:
Color Change in a JTable Row
Posted by Matt Gerrans on November 16, 2001 at 4:26 PM
You use a Renderer - check out the Tutorial at Sun, it covers this. - mfg > A couple of months ago you wrote following question : > > > > how i can change the color or the font of a row of the jTable? > > > i use JBuilder 3.5. > > > for exemple i have a jtable: > > > JTable jTable1 = new JTable(10,10); > > > i like in Java to change the BackgroundColor or the font of the table jTable1 at the row 3. how i can prograam it to java. > > > thanks!!! > > > Dries() > Do you already have an answer ? Because I want to do the same > thing !!
Replies:
|