Hi All,
I have developed a tool using AWT components and i use the textarea and list control to populate data records in the list control. My problem is , if there is an error record, i would want to the record color to change into red and the remaining unerrored records in different color.
Iam unable to do this as it allows only one color in the control to change for all the records.
I have tried to subclass the color base class and tried to create a new sub-class contructor overiiding the tostring method and passing the argument in the subclass contructor with the color returned.
Can any one can help me to fix this. I cannot go with swing components as my application is completed and use AWT
thanks,