Update method

Hi all,

I am facing a problem wrt the update method. Even though i over ride the method in my class(it extends a Component), a repaint call goes to the paint call of my class.The documentation clearly says that a repaint call executes the update of the component. So shoudnt it call the over ridden update method instead of paint?..

But when i extend my class to a Frame, the over ridden update method gets called.Why is this so?.

Thanks and Best Regards

Pundit

[492 byte] By [pundita] at [2007-11-27 11:46:10]
# 1

post a sample code to demonstrate your problem

omgeganetworka at 2007-7-29 18:05:59 > top of Java-index,Desktop,Core GUI APIs...