This class will be use full to update or paint the methods and it will be available in the package of java.awt.event and can be declare as
java.awt.event.PaintEvent .The syntax can be written as follows.
[java]public class PaintEvent
extends ComponentEvent[/java]
- static int PAINT
- static int PAINT_FIRST
- static int PAINT_LAST
- static int UPDATE
- Rectangle getUpdateRect()---->Returns the area that needs to be updated.
- String paramString()--->Returns the arguments of the String.
The above methods will be inherited from the java.awt.ComponentEvent , java.awt.AWTEvent, java.lang.Object