I do:

        @Override
        public Visual getRepresentation() {

                        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 picture = new Picture(bImg); 

                
                return picture;
        }
Can you tell me is my code right or  wrong?

But always have an error while I try to slide column header:




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

Reply via email to