dcsimg
will JTable can solve ma prob?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   prashanth_narayan
Posted On:   Friday, May 17, 2002 12:17 AM

Hai all, Am back again with a JTable problem. well here's the situation- I got a table say with 3 fields type goes this way double, string, double. The data has to be updated in real time. well if I got the first data I'll insert it into the table. And I'll sort the table. Well wut I need is a coloring scheme on the table, I am sorting the table with 1st colomn value. If the 1st and 2nd row value matches I'll give both row same color else according to the value the coloring scheme will be in a gradient format. when I use a cellrenderer I din find anyway to get the color of my previous row. Is there anyway I can sort this problem using JTable?. Else wut will be a good decision to solve ma p   More>>

Hai all,

Am back again with a JTable problem. well here's the situation- I got a table
say with 3 fields type goes this way double, string, double. The data has to be
updated in real time. well if I got the first data I'll insert it into the
table. And I'll sort the table. Well wut I need is a coloring scheme on the
table, I am sorting the table with 1st colomn value. If the 1st and 2nd row
value matches I'll give both row same color else according to the value the
coloring scheme will be in a gradient format. when I use a cellrenderer I din
find anyway to get the color of my previous row. Is there anyway I can sort this
problem using JTable?. Else wut will be a good decision to solve ma prob?

thanx in advance

prashant


 

   <<Less
About | Sitemap | Contact