Sorry to take this back to life....but im stuck...im been triying to draw a
simple line for the last 3 hours...and my head is really starting to
hurt...jajajaja any indications?? I triyed overwriting the paint method in a
class that exteds panel..
@Override
        public void paint(Graphics2D graphics) {
                // TODO Auto-generated method stub
                System.out.println("canvas controller painted!!!");
                Line2D line = new Line2D.Float(new Point2D.Double(0d, 0d),
                                new Point2D.Double(100d, 100d));
                graphics.draw(line);
                super.paint(graphics);
        }

but the bloody method never get called!!! :( pleeease help! i ned to draw a
simple line....:D 

--
View this message in context: 
http://apache-pivot-users.399431.n3.nabble.com/Programmatic-drawing-in-Pivot-2-0-tp2253493p3282030.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to