Actually, you probably don't need to clip since your buffered image will do that for you. But you need to translate the graphics context to the origin of the header cell you want to paint:
graphics.translate(headerBounds.x, headerBounds.y); Also be sure to call dispose() on your graphics object when you are done with it. On Sep 30, 2011, at 9:46 AM, prophe wrote: > Can you show me how I should change code? Post a simple of code please. And > how to to clip and translate the graphics context? > > ----- > Thank you! > -- > View this message in context: > http://apache-pivot-users.399431.n3.nabble.com/Replace-column-in-table-view-tp3375080p3382422.html > Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
