When Scroll JTable erase my Graphics paint

Hello, I'm Brazilian, so sorry for any errors in my English.. :)

I'm painting the cells of a JTable with Graphics, I did a class MyTableCellRenderer and rewrite the getTableCellRendererComponent for paint the background and the paintComponent to paint my pictures (if have).

But when I scroll the table, the pictures erase some parts, or are draw in the wring place.. What cames back to the normal when I click in any cell.

The paintComponent do not work when I scroll.. what can i do to paint correctly the picture when I scroll the table?

Thanks!

[581 byte] By [wellington7a] at [2007-11-27 4:34:51]
# 1

Without seeing any actual code, it is hard to figure out what is wrong with your TableCellRendered. Although I suggest you look closely at the documentation considering JScrollPanes and the repainting behavior.

Maybe you aren't taking some offsets into consideration, or the clipping polygon.

Dalzhima at 2007-7-12 9:44:49 > top of Java-index,Java Essentials,Java Programming...
# 2
http://forum.java.sun.com/thread.jspa?threadID=5173298
wellington7a at 2007-7-12 9:44:49 > top of Java-index,Java Essentials,Java Programming...