>can some one please tell me how can i have cells with rouded corners in
>a JTable. i think i need to write a cell renderer for that. but how
>exactly it should be done, and can i use some image with rouded corners
>to do that etc etc... Please advice. Thanks in advance
I think the easiest way to do that would be to render the background
yourself at the paintComponent level. You might study the code Sun
uses for creating rounded buttons.
The fastest code would pre-draw square images for the corners. Blast
the background to a single colour with fillRectangle then plop your
corners in on top. You could even prepare the corners in a paint
program with anti-aliasing or other fancy effects.
also check out http://mindprod.com/jgloss/border.html to see what is
available canned to use.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.