Methods for Drawing Purposes
Methods for Drawing Purposes
- paint(Graphics g)
- paints the current graphics context.
- is called when the Components get drawn first and later on by update( ).
- repaint( )
- makes a call to the update( ) for updating the screen.
- update( )
- clears the applet area first and makes an asynchronous call to the paint( ).
i.e. it only schedules a paint.
Notes: