How can I paint the header cell or column into a buffered image?
I try:

                        Bounds headerBounds = getHeaderBounds(selectedIndex);
                        BufferedImage bImg = new 
BufferedImage(headerBounds.width,
headerBounds.height, BufferedImage.TYPE_INT_RGB);
                
                        Graphics2D graphics =  bImg.createGraphics();
                        paint(graphics);
                        
                        graphics.drawImage(bImg, 0, 0, null); 
        
                        picture = new Picture(bImg); 
Is it wrong?

-----
Thank you!
--
View this message in context: 
http://apache-pivot-users.399431.n3.nabble.com/Replace-column-in-table-view-tp3375080p3382124.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to